|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface Length
Validates that the length of the field meets the given length constraints
Optional Element Summary | |
---|---|
String |
fieldKey
The key for formatting the field |
int |
max
The maximum length of the field |
String |
maxKey
The key max violation message |
String |
maxMessage
Default message if max violation message isn't found |
int |
min
The maximum length of the field |
String |
minKey
The key min violation message |
String |
minMessage
Default message if min violation message isn't found |
public abstract int max
public abstract int 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 |