public class BindingModel extends AbstractModel
Constructor and Description |
---|
BindingModel(java.lang.String property,
java.lang.String converter,
java.lang.String required)
Create a binding model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
java.lang.String |
getConverter() |
java.lang.String |
getProperty() |
java.lang.String |
getRequired() |
boolean |
isMergeableWith(Model model)
Determine if the model is able to be merged into the current model
|
void |
merge(Model model)
Merge the model into the current model
|
void |
setConverter(java.lang.String converter) |
void |
setProperty(java.lang.String property) |
void |
setRequired(java.lang.String required) |
public BindingModel(java.lang.String property, java.lang.String converter, java.lang.String required)
property
- the name of the bound propertyconverter
- the converterrequired
- required statuspublic boolean isMergeableWith(Model model)
Model
model
- the model to comparepublic void merge(Model model)
Model
model
- the model to merge withpublic Model createCopy()
Model
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
public java.lang.String getConverter()
public void setConverter(java.lang.String converter)
public java.lang.String getRequired()
public void setRequired(java.lang.String required)