|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER,METHOD})
@Constraint(checkWith=AssertFalseCheck.class)
public @interface AssertFalse
Check if the value is false.
Note: This constraint is also satisfied when the value to validate is null, therefore you might also need to specified @NotNull
| Optional Element Summary | |
|---|---|
String |
errorCode
error code passed to the ConstraintViolation object |
String |
message
message to be used for constructing the ConstraintViolation object |
String[] |
profiles
The associated constraint profiles. |
int |
severity
severity passed to the ConstraintViolation object |
public abstract String errorCode
public abstract String message
ConstraintViolationpublic abstract String[] profiles
public abstract int severity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||