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