|
|||||||||||
| 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.ForeignKeyFieldValidator
This Field Validator ensures that the field value is a valid Foreign key in the specified domainClass.
| Constructor Summary | |
ForeignKeyFieldValidator()
|
|
| Method Summary | |
String |
getDomainClass()
Getter for property domainClass. |
String |
getProperty()
Getter for property. |
void |
setDomainClass(String domainClass)
Setter for property domainClass. |
void |
setProperty(String property)
Setter for property. |
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 ForeignKeyFieldValidator()
| Method Detail |
public String getDomainClass()
public void setDomainClass(String domainClass)
domainClass - New value of property domainClass.public String getProperty()
public void setProperty(String property)
property - New value of property.
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 | ||||||||||