|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValidationRule
A
ValidationRule is a rule that evaluates the current execution
context in respect of a certain set of constraints. It is responsible for
producing a ValidationState as the result whereas a null
result means 'valid' and a not-null result means 'invalid'. Validator which normally are used
by Validatable objects for validating their state.
Method Summary
ValidationStatevalidate()
Produces a fresh ValidationState.
Method Detail
validate
ValidationState validate()
ValidationState. A null return
value indicates that this rule has been successfully validated. A not-
null value indicates that this rule has found an invalid
state.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
© 2010 by Michael Karneim, http://www.beanfabrics.org