|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Pattern
Validate using a Regular expression the pattern of a String property.
You can only apply this to String properties.
Optional Element Summary | |
---|---|
int |
flags
Regular expression flags. |
String |
regex
The regular expression. |
public abstract String regex
public abstract int flags
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |