public class LongTypeValidator extends TypeValidator
| Constructor and Description |
|---|
LongTypeValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
appliesTo(Class<?> type)
Used by apply to figure out whether to apply the validation or simply return.
|
static LongTypeValidator |
getInstance()
Get the instance.
|
protected void |
validate(Class<?> type,
Object value,
List<ValidationFailure> validationFailures) |
applyprotected void validate(Class<?> type, Object value, List<ValidationFailure> validationFailures)
validate in class TypeValidatorprotected boolean appliesTo(Class<?> type)
TypeValidatorappliesTo in class TypeValidatortype - the type to be validatedpublic static LongTypeValidator getInstance()