Class BindingModel
java.lang.Object
org.springframework.webflow.engine.model.AbstractModel
org.springframework.webflow.engine.model.BindingModel
- All Implemented Interfaces:
Model
Model support for binding elements.
- Author:
- Scott Andrews
-
Constructor Summary
ConstructorDescriptionBindingModel
(String property, String converter, String required) Create a binding model -
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this model.boolean
isMergeableWith
(Model model) Determine if the model is able to be merged into the current modelvoid
Merge the model into the current modelvoid
setConverter
(String converter) void
setProperty
(String property) void
setRequired
(String required)
-
Constructor Details
-
BindingModel
Create a binding model- Parameters:
property
- the name of the bound propertyconverter
- the converterrequired
- required status
-
-
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
-
getProperty
-
setProperty
-
getConverter
-
setConverter
-
getRequired
-
setRequired
-