|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface NumberValue
Validates that the value of a number meets certain parameters
Optional Element Summary | |
---|---|
String |
fieldKey
The key for formatting the field |
double |
max
The maximum value of the field |
String |
maxKey
The key max violation message |
String |
maxMessage
Default message if max violation message isn't found |
double |
min
The minimum value of the field |
String |
minKey
The key min violation message |
String |
minMessage
Default message if min violation message isn't found |
public abstract double max
public abstract double min
public abstract String maxKey
public abstract String maxMessage
public abstract String minKey
public abstract String minMessage
public abstract String fieldKey
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |