javax.validation.constraints
Annotation Type Null
@Target(value={METHOD,FIELD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface Null
The annotated element must be null.
Accepts any type.
- Author:
- Emmanuel Bernard
Optional Element Summary |
java.lang.Class<?>[] |
groups
|
java.lang.String |
message
|
message
public abstract java.lang.String message
- Default:
- "{constraint.null}"
groups
public abstract java.lang.Class<?>[] groups
- Default:
- {}
Submit a bug or feature Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.