T - the generic typepublic class DecimalMaxValidator<T> extends AbstractValidator<T>
Validator.Priority| Constructor and Description | 
|---|
DecimalMaxValidator(Number maxValue)
Constructor. 
 | 
DecimalMaxValidator(Number maxValue,
                   String invalidMessageOverride)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getPriority()
Priority value for this validator. 
 | 
boolean | 
isValid(T value)
Checks if is valid. 
 | 
createErrorList, getInvalidMessage, validatepublic DecimalMaxValidator(Number maxValue)
maxValue - the max valuepublic DecimalMaxValidator(Number maxValue, String invalidMessageOverride)
maxValue - the max valueinvalidMessageOverride - the invalid message overridepublic int getPriority()
Validatorpublic boolean isValid(T value)
AbstractValidatorisValid in class AbstractValidator<T>value - the valueCopyright © 2018. All rights reserved.