|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) @Documented @Validator(value="validwhen") public @interface Validwhen
An annotation to validate if the condition matches the value.
Required Element Summary | |
---|---|
Msg |
msg
The message. |
String |
test
The condition. |
Optional Element Summary | |
---|---|
Arg |
arg0
The first argument. |
Arg[] |
args
The array of arguments. |
String[] |
targets
Specifies the execute method names which are validation targets. |
Element Detail |
---|
public abstract String test
public abstract Msg msg
public abstract Arg arg0
public abstract Arg[] args
public abstract String[] targets
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |