| java.lang.Object org.jaffa.rules.fieldvalidators.AbstractFieldValidator
All known Subclasses: org.jaffa.rules.fieldvalidators.StringFieldValidator, org.jaffa.rules.fieldvalidators.DateOnlyFieldValidator, org.jaffa.rules.fieldvalidators.InListFieldValidator, org.jaffa.rules.fieldvalidators.GenericForeignKeyFieldValidator, org.jaffa.rules.fieldvalidators.CurrencyFieldValidator, org.jaffa.rules.fieldvalidators.DecimalFieldValidator, org.jaffa.rules.fieldvalidators.IntegerFieldValidator, org.jaffa.rules.fieldvalidators.MandatoryFieldValidator, org.jaffa.rules.fieldvalidators.ForeignKeyFieldValidator, org.jaffa.rules.fieldvalidators.BooleanFieldValidator, org.jaffa.rules.fieldvalidators.DateTimeFieldValidator,
AbstractFieldValidator | abstract public class AbstractFieldValidator implements IFieldValidator(Code) | | This is an abstract implementation of the IFieldValidator interface.
author: GautamJ |
Method Summary | |
public void | cleanup() This method will always be invoked by the RulesEngine after the validation is completed. | public String | getLabelToken() Getter for the property labelToken. | public UOW | getUow() Getter for the property uow. | public Object | getValue() Getter for the property value. | public void | init() This method is invoked by the RulesEngine before all the setters are invoked. | public void | setLabelToken(String labelToken) Setter for property labelToken. | public void | setUow(UOW uow) Setter for property uow. | public void | setValue(Object value) Setter for property value. | abstract public void | validate() The RulesEngine will invoke this method to perform the field validation. |
cleanup | public void cleanup()(Code) | | This method will always be invoked by the RulesEngine after the validation is completed. Use this to perform cleanup operations.
|
getLabelToken | public String getLabelToken()(Code) | | Getter for the property labelToken.
Value of property labelToken. |
getUow | public UOW getUow()(Code) | | Getter for the property uow.
Value of property uow. |
getValue | public Object getValue()(Code) | | Getter for the property value.
Value of property value. |
init | public void init()(Code) | | This method is invoked by the RulesEngine before all the setters are invoked. Use this to perform some initializations.
|
setLabelToken | public void setLabelToken(String labelToken)(Code) | | Setter for property labelToken.
Parameters: labelToken - New value of property labelToken. |
setUow | public void setUow(UOW uow)(Code) | | Setter for property uow.
Parameters: uow - New value of property uow. |
setValue | public void setValue(Object value)(Code) | | Setter for property value.
Parameters: value - New value of property value. |
|
|