|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface Required
Validates that the length of the field meets the given length constraints
Optional Element Summary | |
---|---|
String |
fieldKey
The key for formatting the field |
String |
key
The key for the violation message |
String |
message
Default message if the key isn't found |
public abstract String key
public abstract String message
public abstract String fieldKey
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |