Package | Description |
---|---|
javax.validation.constraints |
Contains all the 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
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).
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.