Uses of Annotation Interface
jakarta.validation.Constraint
Package
Description
Contains all the Jakarta Validation provided constraints
also called built-in constraints.
-
Uses of Constraint in jakarta.validation.constraints
Modifier and TypeClassDescription@interface
The annotated element must be false.@interface
The annotated element must be true.@interface
The annotated element must be a number whose value must be lower or equal to the specified maximum.@interface
The annotated element must be a number whose value must be higher or equal to the specified minimum.@interface
The annotated element must be a number within accepted range.@interface
The string has to be a well-formed email address.@interface
The annotated element must be an instant, date or time in the future.@interface
The annotated element must be an instant, date or time in the present or in the future.@interface
The annotated element must be a number whose value must be lower or equal to the specified maximum.@interface
The annotated element must be a number whose value must be higher or equal to the specified minimum.@interface
The annotated element must be a strictly negative number (i.e.@interface
The annotated element must be a negative number or 0.@interface
The annotated element must not benull
and must contain at least one non-whitespace character.@interface
The annotated element must not benull
nor empty.@interface
The annotated element must not benull
.@interface
The annotated element must benull
.@interface
The annotated element must be an instant, date or time in the past.@interface
The annotated element must be an instant, date or time in the past or in the present.@interface
The annotatedCharSequence
must match the specified regular expression.@interface
The annotated element must be a strictly positive number (i.e.@interface
The annotated element must be a positive number or 0.@interface
The annotated element size must be between the specified boundaries (included).