|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) @Documented @Validator(value="intRange") public @interface IntRange
An annotation to validate if the int value is in a range.
Required Element Summary | |
---|---|
int |
max
The maximum value. |
int |
min
The minimum value. |
Optional Element Summary | |
---|---|
Arg |
arg0
The first argument. |
Arg |
arg1
The second argument. |
Arg |
arg2
The third argument. |
Msg |
msg
The message. |
String[] |
targets
Specifies the execute method names which are validation targets. |
Element Detail |
---|
public abstract int min
public abstract int max
public abstract Msg msg
public abstract Arg arg0
public abstract Arg arg1
public abstract Arg arg2
public abstract String[] targets
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |