public static class Constraints.MinLengthValidator extends Constraints.Validator<java.lang.String> implements javax.validation.ConstraintValidator<Constraints.MinLength,java.lang.String>
@MinLength
fields.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
message |
Constructor and Description |
---|
Constraints.MinLengthValidator() |
Constraints.MinLengthValidator(long value) |
Modifier and Type | Method and Description |
---|---|
F.Tuple<java.lang.String,java.lang.Object[]> |
getErrorMessageKey() |
void |
initialize(Constraints.MinLength constraintAnnotation) |
boolean |
isValid(java.lang.String object)
Returns
true if this value is valid. |
isValid
public static final java.lang.String message
public Constraints.MinLengthValidator()
public Constraints.MinLengthValidator(long value)
public void initialize(Constraints.MinLength constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<Constraints.MinLength,java.lang.String>
public boolean isValid(java.lang.String object)
Constraints.Validator
true
if this value is valid.isValid
in class Constraints.Validator<java.lang.String>
public F.Tuple<java.lang.String,java.lang.Object[]> getErrorMessageKey()
getErrorMessageKey
in class Constraints.Validator<java.lang.String>