|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Validatable
The Validatable
interface declares the interface for classes
that can be validated.
See the online documentation on validation for more information.
Method Summary | |
---|---|
ValidationState |
getValidationState()
Returns the current validation state of this object. |
Validator |
getValidator()
Returns the Validator of this object. |
boolean |
isValid()
Returns whether this object is valid. |
void |
revalidate()
Updates the validation state of this object, usually by calling Validator.validate() . |
Method Detail |
---|
void revalidate()
Validator.validate()
.
ValidationState getValidationState()
boolean isValid()
null
.
true
if this object is valid, otherwise
false
.Validator getValidator()
Validator
of this object. The validator is
responsible for creating the ValidationState
of this object by
evaluating a specific set of ValidationRule
s.
Validator
of this object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |