@Retention(value=RUNTIME) @Target(value=FIELD) public @interface ValidateNumeric
| Modifier and Type | Optional Element and Description | 
|---|---|
boolean | 
allowNull
If set to true then a null value will be allowed for the field specified in the field attribute. 
 | 
int | 
max
The maximum value of the field with -1 meaning that there is no maximum 
 | 
int | 
min
The minimum value of the field defaulting to 0. 
 | 
ValidateNumeric.NumericType | 
type
A type used to determine the validity of the field. 
 | 
Class<?> | 
validatorClass
The Class that implements the strategy for validation of this annotation. 
 | 
public abstract ValidateNumeric.NumericType type
public abstract int min
public abstract int max
public abstract boolean allowNull
public abstract Class<?> validatorClass