Uses of Annotation Interface
javax.validation.Constraint
Packages that use Constraint
Package
Description
Contains all the Bean Validation provided constraints
also called built-in constraints.
-
Uses of Constraint in javax.validation.constraints
Classes in javax.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 Supported types are:BigDecimalBigIntegerCharSequencebyte,short,int,long, and their respective wrapper types@interfaceThe annotated element must be a date 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 not benull.@interfaceThe annotated element must benull.@interfaceThe annotated element must be a date in the past.@interfaceThe annotatedCharSequencemust match the specified regular expression.@interfaceThe annotated element size must be between the specified boundaries (included).