public interface ValidationConstraint<A extends java.lang.annotation.Annotation>
Modifier and Type | Method and Description |
---|---|
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.
|
void configure(A annotation)
boolean isValid(ValidationConstraintContext vcc, java.lang.Object value)
true
if validation passes, otherwise false
.Copyright © 2003-present Jodd Team