Package com.iizix.prop
Class BinderAction
java.lang.Object
com.iizix.prop.BinderAction
This class is used as information for result of what the binder action performed with a IBinderPOJO object item with a Property.
- Author:
- Christopher Mindus
- Nested Class SummaryNested ClassesModifier and TypeClassDescription- static enumThe various actions that can be performed.
- Field SummaryFieldsModifier and TypeFieldDescriptionThe action performed with the field or the property.In case of an error (action ERROR or CONVERSION_ERROR), this variable contains the exception that was encountered during conversion.The field in the POJO that was manipulated.- final GProp- <?> The property used for the action.
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- booleanChecks if this action was successful, meaning one of the ActionPerformed as NO_CHANGE, CONTAINER_CHANGED, ASSIGNED, i.e.
- Field Details- propertyThe property used for the action.
- fieldThe field in the POJO that was manipulated. If the field is not found, i.e. when the action is FIELD_NOT_FOUND, this variable is- null.
- actionThe action performed with the field or the property.
- errorIn case of an error (action ERROR or CONVERSION_ERROR), this variable contains the exception that was encountered during conversion.
 
- Constructor Details- BinderActionConstructor of the binder object.- Parameters:
- property- the property that is bound.
 
 
- Method Details- wasSuccessfulpublic boolean wasSuccessful()Checks if this action was successful, meaning one of the ActionPerformed as NO_CHANGE, CONTAINER_CHANGED, ASSIGNED, i.e. not ERROR, FIELD_NOT_FOUND or CONVERSION_ERROR.