public abstract static class Constraints.Validator<T>
extends java.lang.Object
Constructor and Description |
---|
Validator() |
Modifier and Type | Method and Description |
---|---|
abstract F.Tuple<java.lang.String,java.lang.Object[]> |
getErrorMessageKey() |
abstract boolean |
isValid(T object) |
boolean |
isValid(T object,
javax.validation.ConstraintValidatorContext constraintContext) |
public abstract boolean isValid(T object)
object
- the value to test.true
if this value is valid.public boolean isValid(T object, javax.validation.ConstraintValidatorContext constraintContext)
object
- the object to checkconstraintContext
- The JSR-303 validation context.true
if this value is valid for the given constraint.public abstract F.Tuple<java.lang.String,java.lang.Object[]> getErrorMessageKey()