See: Description
| Enum | Description |
|---|---|
| Pattern.Flag |
Possible Regexp flags.
|
| Annotation Type | Description |
|---|---|
| AssertFalse |
The annotated element must be false.
|
| AssertFalse.List |
Defines several
AssertFalse annotations on the same element. |
| AssertTrue |
The annotated element must be true.
|
| AssertTrue.List |
Defines several
AssertTrue annotations on the same element. |
| DecimalMax |
The annotated element must be a number whose value must be lower or
equal to the specified maximum.
|
| DecimalMax.List |
Defines several
DecimalMax annotations on the same element. |
| DecimalMin |
The annotated element must be a number whose value must be higher or
equal to the specified minimum.
|
| DecimalMin.List |
Defines several
DecimalMin annotations on the same element. |
| 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
|
| Digits.List |
Defines several
Digits annotations on the same element. |
|
The string has to be a well-formed email address.
|
|
| Email.List |
Defines several
@Email constraints on the same element. |
| Future |
The annotated element must be an instant, date or time in the future.
|
| Future.List |
Defines several
Future annotations on the same element. |
| Max |
The annotated element must be a number whose value must be lower or
equal to the specified maximum.
|
| Max.List |
Defines several
Max annotations on the same element. |
| Min |
The annotated element must be a number whose value must be higher or
equal to the specified minimum.
|
| Min.List |
Defines several
Min annotations on the same element. |
| Negative |
The annotated element must be a negative number.
|
| Negative.List |
Defines several
Negative constraints on the same element. |
| NotBlank |
The annotated element must not be
null nor empty after removing any leading or trailing
whitespace. |
| NotBlank.List |
Defines several
@NotBlank constraints on the same element. |
| NotEmpty |
The annotated element must not be
null nor empty. |
| NotEmpty.List |
Defines several
@NotEmpty constraints on the same element. |
| NotNull |
The annotated element must not be
null. |
| NotNull.List |
Defines several
NotNull annotations on the same element. |
| Null |
The annotated element must be
null. |
| Null.List |
Defines several
Null annotations on the same element. |
| Past |
The annotated element must be an instant, date or time in the past.
|
| Past.List |
Defines several
Past annotations on the same element. |
| Pattern |
The annotated
CharSequence must match the specified regular expression. |
| Pattern.List |
Defines several
Pattern annotations on the same element. |
| Positive |
The annotated element must be a positive number.
|
| Positive.List |
Defines several
Positive constraints on the same element. |
| Size |
The annotated element size must be between the specified boundaries (included).
|
| Size.List |
Defines several
Size annotations on the same element. |
These constraints do not cover all functional use cases but do represent all the fundamental blocks to express low level constraints on basic JDK types.
Copyright © 2007-2017 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.