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