public abstract class NumberValidator extends BaseValidator
| Constructor and Description |
|---|
NumberValidator() |
| Modifier and Type | Method and Description |
|---|---|
static NumberValidator |
checkMaxValue(long value,
Checks that tested value is less than or equal to specified (maximal) value.
|
static NumberValidator |
checkMinValue(long value,
Checks that tested value is greater or equal to specified (minimal) value.
|
getMessage, isValid, setMessage, validatevalue - Tested value.minValue - The minimum numeric value.value - Tested value.maxValue - The maximal numeric value.