| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.rules.fieldvalidators.AbstractFieldValidator
This is an abstract implementation of the IFieldValidator interface.
| Constructor Summary | |
| AbstractFieldValidator() | |
| Method Summary | |
|  void | cleanup()This method will always be invoked by the RulesEngine after the validation is completed. | 
|  String | getLabelToken()Getter for the property labelToken. | 
|  UOW | getUow()Getter for the property uow. | 
|  Object | getValue()Getter for the property value. | 
|  void | init()This method is invoked by the RulesEngine before all the setters are invoked. | 
|  void | setLabelToken(String labelToken)Setter for property labelToken. | 
|  void | setUow(UOW uow)Setter for property uow. | 
|  void | setValue(Object value)Setter for property value. | 
| abstract  void | validate()The RulesEngine will invoke this method to perform the field validation. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public AbstractFieldValidator()
| Method Detail | 
public abstract void validate()
                       throws ValidationException,
                              FrameworkException
validate in interface IFieldValidatorValidationException - if any validation rule fails.
FrameworkException - if any framework error occurs.public void init()
init in interface IFieldValidatorpublic void cleanup()
cleanup in interface IFieldValidatorpublic String getLabelToken()
getLabelToken in interface IFieldValidatorpublic UOW getUow()
getUow in interface IFieldValidatorpublic Object getValue()
getValue in interface IFieldValidatorpublic void setLabelToken(String labelToken)
setLabelToken in interface IFieldValidatorlabelToken - New value of property labelToken.public void setUow(UOW uow)
setUow in interface IFieldValidatoruow - New value of property uow.public void setValue(Object value)
setValue in interface IFieldValidatorvalue - New value of property value.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||