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
-
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.getName()
getType()
getValue()
boolean
isMergeableWith
(Model model) Determine if the model is able to be merged into the current modelvoid
Merge the model into the current modelvoid
void
void
-
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:Model
Determine 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:Model
Merge the model into the current model- Parameters:
model
- the model to merge with
-
createCopy
Description copied from interface:Model
Create 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
-