|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleExecutor
Performs validation for a given rule.
| Method Summary | |
|---|---|
boolean |
validate(Object model,
Object argument)
Validate the given rule Generally, a rule should return valid if the model is null or empty, unless this is a rule to validate the presence of the object. |
| Method Detail |
|---|
boolean validate(Object model,
Object argument)
throws Exception
model - The object on which the rule operatesargument - Some argument providing details on how to operate on the object
Exception - any exception to be handled by the parent framework.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||