public interface AttributeBinding extends ControlBinding, AttributeBinding
Modifier and Type | Method and Description |
---|---|
java.util.List |
getErrors()
Return a list of errors that were raised during setInputValue()
|
java.lang.Object |
getInputValue()
Return the value that should be rendered on a view for the attribute
associated with this binding.
|
java.lang.String |
getLabel()
Return the display label or prompt for the attribute represented by this binding.
|
boolean |
isUpdateable()
Finds out whether the attribute is updateable or is for display only.
|
boolean |
processNewInputValue(java.lang.Object value)
Prepare the binding for being able to accept a new value
|
void |
setInputValue(java.lang.Object inputVal)
Update the attribute value associated with this binding.
|
java.lang.Object |
validateInputValue(java.lang.Object inputVal)
validate the given value with validations applied at the binding level (if any.)
Return value of null means the validation succeeded.
|
release, setListener
getName, getPath, release, resolvePath, setListener
java.lang.Object getInputValue()
getInputValue
in interface AttributeBinding
void setInputValue(java.lang.Object inputVal)
setInputValue
in interface AttributeBinding
inputVal
- The new attribute value.AttributeBinding.getErrors()
java.lang.Object validateInputValue(java.lang.Object inputVal)
java.lang.String getLabel()
getLabel
in interface AttributeBinding
boolean isUpdateable()
AttributeBinding
isUpdateable
in interface AttributeBinding
java.util.List getErrors()
getErrors
in interface AttributeBinding
AttributeBinding.setInputValue(Object)
boolean processNewInputValue(java.lang.Object value)