|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value={METHOD,FIELD}) @ConstraintValidator(value=NotNullValidator.class) @Retention(value=RUNTIME) public @interface NotNull
Asserts that the given field or method is not null when validated.
Optional Element Summary | |
---|---|
java.lang.String[] |
groups
Groups that the constraint belongs to |
java.lang.String |
message
Message that is returned on validation failure. |
public abstract java.lang.String message
public abstract java.lang.String[] groups
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |