| Package | Description | 
|---|---|
| jakarta.validation.constraints | 
 Contains all the Jakarta Bean Validation provided constraints
 also called built-in constraints. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
interface  | 
AssertFalse
The annotated element must be false. 
 | 
interface  | 
AssertTrue
The annotated element must be true. 
 | 
interface  | 
DecimalMax
The annotated element must be a number whose value must be lower or
 equal to the specified maximum. 
 | 
interface  | 
DecimalMin
The annotated element must be a number whose value must be higher or
 equal to the specified minimum. 
 | 
interface  | 
Digits
The annotated element must be a number within accepted range. 
 | 
interface  | 
Email
The string has to be a well-formed email address. 
 | 
interface  | 
Future
The annotated element must be an instant, date or time in the future. 
 | 
interface  | 
FutureOrPresent
The annotated element must be an instant, date or time in the present or in the future. 
 | 
interface  | 
Max
The annotated element must be a number whose value must be lower or
 equal to the specified maximum. 
 | 
interface  | 
Min
The annotated element must be a number whose value must be higher or
 equal to the specified minimum. 
 | 
interface  | 
Negative
The annotated element must be a strictly negative number (i.e. 
 | 
interface  | 
NegativeOrZero
The annotated element must be a negative number or 0. 
 | 
interface  | 
NotBlank
The annotated element must not be  
null and must contain at least one
 non-whitespace character. | 
interface  | 
NotEmpty
The annotated element must not be  
null nor empty. | 
interface  | 
NotNull
The annotated element must not be  
null. | 
interface  | 
Null
The annotated element must be  
null. | 
interface  | 
Past
The annotated element must be an instant, date or time in the past. 
 | 
interface  | 
PastOrPresent
The annotated element must be an instant, date or time in the past or in the present. 
 | 
interface  | 
Pattern
The annotated  
CharSequence must match the specified regular expression. | 
interface  | 
Positive
The annotated element must be a strictly positive number (i.e. 
 | 
interface  | 
PositiveOrZero
The annotated element must be a positive number or 0. 
 | 
interface  | 
Size
The annotated element size must be between the specified boundaries (included). 
 | 
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.