| 
 | |||||||||||
| 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.CurrencyFieldValidator
This implementation of the IFieldValidator ensures that the field has a Currency value.
| Constructor Summary | |
| CurrencyFieldValidator() | |
| Method Summary | |
|  Integer | getFracSize()Getter for property fracSize. | 
|  Integer | getIntSize()Getter for property intSize. | 
|  String | getLayout()Getter for property layout. | 
|  Currency | getMaxValue()Getter for property maxValue. | 
|  Currency | getMinValue()Getter for property minValue. | 
|  void | setFracSize(Integer fracSize)Setter for property fracSize. | 
|  void | setIntSize(Integer intSize)Setter for property intSize. | 
|  void | setLayout(String layout)Setter for property layout. | 
|  void | setMaxValue(Currency maxValue)Setter for property maxValue. | 
|  void | setMinValue(Currency minValue)Setter for property minValue. | 
|  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 CurrencyFieldValidator()
| Method Detail | 
public String getLayout()
public void setLayout(String layout)
layout - New value of property layout.public Currency getMinValue()
public void setMinValue(Currency minValue)
minValue - New value of property minValue.public Currency getMaxValue()
public void setMaxValue(Currency maxValue)
maxValue - New value of property maxValue.public Integer getIntSize()
public void setIntSize(Integer intSize)
intSize - New value of property intSize.public Integer getFracSize()
public void setFracSize(Integer fracSize)
fracSize - New value of property fracSize.
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 | ||||||||||