|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ValidationConstraint<A extends java.lang.annotation.Annotation>
Definition of validation constraint.
| Method Summary | |
|---|---|
void |
configure(A annotation)
Configures constraint from associated annotation. |
boolean |
isValid(ValidationConstraintContext vcc,
java.lang.Object value)
Performs validation in context of target object on provided value. |
| Method Detail |
|---|
void configure(A annotation)
boolean isValid(ValidationConstraintContext vcc,
java.lang.Object value)
true if validation passes, otherwise false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||