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, setListenergetName, getPath, release, resolvePath, setListenerjava.lang.Object getInputValue()
getInputValue in interface AttributeBindingvoid setInputValue(java.lang.Object inputVal)
setInputValue in interface AttributeBindinginputVal - The new attribute value.AttributeBinding.getErrors()java.lang.Object validateInputValue(java.lang.Object inputVal)
java.lang.String getLabel()
getLabel in interface AttributeBindingboolean isUpdateable()
AttributeBindingisUpdateable in interface AttributeBindingjava.util.List getErrors()
getErrors in interface AttributeBindingAttributeBinding.setInputValue(Object)boolean processNewInputValue(java.lang.Object value)