|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) @Documented @Validator(value="maxlength") public @interface Maxlength
An annotation to validate if the length of the string value is less than or equal to the maximum length.
Required Element Summary | |
---|---|
int |
maxlength
The maximum length. |
Optional Element Summary | |
---|---|
Arg |
arg0
The first argument. |
Arg |
arg1
The second argument. |
Msg |
msg
The message. |
String[] |
targets
Specifies the execute method names which are validation targets. |
Element Detail |
---|
public abstract int maxlength
public abstract Msg msg
public abstract Arg arg0
public abstract Arg arg1
public abstract String[] targets
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |