Package jakarta.validation.constraints
Annotation Interface AssertFalse
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
@Documented
@Constraint(validatedBy={})
public @interface AssertFalse
The annotated element must be false.
Supported types are
boolean
and Boolean
.
null
elements are considered valid.
- Author:
- Emmanuel Bernard
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Defines severalAssertFalse
annotations on the same element. -
Optional Element Summary