org.jaffa.rules.fieldvalidators
Class MandatoryFieldValidator
java.lang.Object
org.jaffa.rules.fieldvalidators.AbstractFieldValidator
org.jaffa.rules.fieldvalidators.MandatoryFieldValidator
- All Implemented Interfaces:
- IFieldValidator
- public class MandatoryFieldValidator
- extends AbstractFieldValidator
This implementation of the IFieldValidator ensures that the field is not null.
|
Method Summary |
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 |
MandatoryFieldValidator
public MandatoryFieldValidator()
validate
public void validate()
throws ValidationException,
FrameworkException
- The RulesEngine will invoke this method to perform the field validation.
- Specified by:
validate in interface IFieldValidator- Specified by:
validate in class AbstractFieldValidator
- Throws:
ValidationException - if any validation rule fails.
FrameworkException - if any framework error occurs.
Copyright © 2002-2004 JAFFA Project.