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