| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.rules.fieldvalidators.AbstractFieldValidator
org.jaffa.rules.fieldvalidators.InListFieldValidator
This Field Validator ensures that the field value is specified in the List. The List will have multiple values separated by the separator character. The default separator character is a comma ','.
| Constructor Summary | |
| InListFieldValidator() | |
| Method Summary | |
|  String | getList()Getter for property list. | 
|  String | getSeparator()Getter for property separator. | 
|  void | setList(String list)Setter for property list. | 
|  void | setSeparator(String separator)Setter for property separator. | 
|  void | validate()The RulesEngine will invoke this method to perform the field validation. | 
| Methods inherited from class org.jaffa.rules.fieldvalidators.AbstractFieldValidator | 
| cleanup, getLabelToken, getUow, getValue, init, setLabelToken, setUow, setValue | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public InListFieldValidator()
| Method Detail | 
public String getList()
public void setList(String list)
list - New value of property list.public String getSeparator()
public void setSeparator(String separator)
separator - New value of property separator.
public void validate()
              throws ValidationException,
                     FrameworkException
validate in interface IFieldValidatorvalidate in class AbstractFieldValidatorValidationException - if any validation rule fails.
FrameworkException - if any framework error occurs.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||