|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
javax.validation.constraints | 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 Constraint | |
---|---|
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 Supported types are: BigDecimal
BigInteger
CharSequence
byte , short , int , long , and their respective wrapper types
null elements are considered valid |
interface |
Future
The annotated element must be a date 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 |
NotNull
The annotated element must not be null . |
interface |
Null
The annotated element must be null . |
interface |
Past
The annotated element must be a date in the past. |
interface |
Pattern
The annotated CharSequence must match the specified regular expression. |
interface |
Size
The annotated element size must be between the specified boundaries (included). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |