public abstract static class Constraints.Validator<T>
extends java.lang.Object
Constructor and Description |
---|
Constraints.Validator() |
public abstract boolean isValid(T object)
true
if this value is valid.public boolean isValid(T object, javax.validation.ConstraintValidatorContext constraintContext)
true
if this value is valid for the given constraint.constraintContext
- The JSR-303 validation context.