javax.validation.constraints
Annotation Type AssertTrue
@Target(value={METHOD,FIELD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface AssertTrue
The annotated element must be true.
Supported types are boolean
and Boolean
null
elements are considered valid.
- Author:
- Emmanuel Bernard
Optional Element Summary |
java.lang.Class<?>[] |
groups
|
java.lang.String |
message
|
message
public abstract java.lang.String message
- Default:
- "{constraint.assertTrue}"
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.