Class AttributeModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.AttributeModel
- All Implemented Interfaces:
Model
Model support for attributes.
A meta attribute describing or otherwise annotating it's holder.
- Author:
- Scott Andrews
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.getName()getType()getValue()booleanisMergeableWith(Model model) Determine if the model is able to be merged into the current modelvoidMerge the model into the current modelvoidvoidvoid
-
Constructor Details
-
AttributeModel
Create an attribute model- Parameters:
name- the name of the attributevalue- the value of the attribute
-
-
Method Details
-
isMergeableWith
Description copied from interface:ModelDetermine if the model is able to be merged into the current model- Parameters:
model- the model to compare- Returns:
- true if able to merge
-
merge
Description copied from interface:ModelMerge the model into the current model- Parameters:
model- the model to merge with
-
createCopy
Description copied from interface:ModelCreate a deep copy of this model. Needed when merging models and collections.- Returns:
- a deep copy of this model
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- the type to set
-
getValue
- Returns:
- the value
-
setValue
- Parameters:
value- the value to set
-