| 
 | |||||||||||
| 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.StringFieldValidator
This implementation of the IFieldValidator ensures that the field has a valid String value.
| Constructor Summary | |
| StringFieldValidator() | |
| Method Summary | |
|  String | getCaseType()Getter for property caseType. | 
|  Integer | getLength()Getter for property length. | 
|  Integer | getMinLength()Getter for property minLength. | 
|  String | getPattern()Getter for property pattern. | 
|  void | setCaseType(String caseType)Setter for property caseType. | 
|  void | setLength(Integer length)Setter for property length. | 
|  void | setMinLength(Integer minLength)Setter for property minLength. | 
|  void | setPattern(String pattern)Setter for property pattern. | 
|  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 StringFieldValidator()
| Method Detail | 
public String getPattern()
public void setPattern(String pattern)
pattern - New value of property pattern.public Integer getLength()
public void setLength(Integer length)
length - New value of property length.public String getCaseType()
public void setCaseType(String caseType)
caseType - New value of property caseType.public Integer getMinLength()
public void setMinLength(Integer minLength)
minLength - New value of property minLength.
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 | ||||||||||