|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface Matches
Validates that the parameter matches the given regular expression
Required Element Summary | |
---|---|
String |
regexp
The regular expression to match |
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 |
Element Detail |
---|
public abstract String regexp
public abstract String key
public abstract String message
public abstract String fieldKey
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |