|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,PARAMETER}) @Retention(value=RUNTIME) public @interface MOValidationString
Defines constraints for string properties.
MOProperty
Optional Element Summary | |
---|---|
int |
maxLength
defines the maximum length in characters of a string value. |
int |
minLength
defines the minimum length in characters of a string value. |
java.lang.String[] |
patterns
defines regular expression patterns that the string values must match at least one of. |
public abstract int minLength
public abstract int maxLength
public abstract java.lang.String[] patterns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |