| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is the interface for all the FieldValidators. The RulesEngine will typically create an instance of a FieldValidator. It will then invoke the init() method, all the setters, the validate() method and finally the cleanup() method.
| 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. | 
|  void | validate()The RulesEngine will invoke this method to perform the field validation. | 
| Method Detail | 
public void init()
public void cleanup()
public void validate()
              throws ValidationException,
                     FrameworkException
ValidationException - if any validation rule fails.
FrameworkException - if any framework error occurs.public Object getValue()
public void setValue(Object value)
value - New value of property value.public UOW getUow()
public void setUow(UOW uow)
uow - New value of property uow.public String getLabelToken()
public void setLabelToken(String labelToken)
labelToken - New value of property labelToken.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||