Annotation Type |
Description |
NotBlankWhenNullableConstraint
|
The annotated element must must contain at least one non-whitespace character when it is not null.
|
NotBlankWhenNullableConstraintList
|
Defines several NotBlankWhenNullableConstraint annotations on the same element. |
NotEmptyWhenNullableConstraint
|
The annotated element must not be empty when it is not null .
|
NotEmptyWhenNullableConstraintList
|
Defines several NotEmptyWhenNullableConstraint annotations on the same element. |
NotNullElementsConstraint
|
The annotated element must not contain null elements.
|
NotNullElementsConstraintList
|
Defines several NotNullElementsConstraint annotations on the same element. |
RandomUuidFormatConstraint
|
The annotated element must be well-formed random UUID string.
|
RandomUuidFormatConstraintList
|
Defines several RandomUuidFormatConstraint annotations on the same element. |
TrimmedStringConstraint
|
The annotated element must be a string without any spaces in front or at the end.
|
TrimmedStringConstraintList
|
Defines several TrimmedStringConstraint annotations on the same element. |
UnLoCodeFormatConstraint
|
The annotated element must be well-formed UN/LOCODE string.
|
UnLoCodeFormatConstraintList
|
Defines several UnLoCodeFormatConstraint annotations on the same element. |
UuidFormatConstraint
|
The annotated element must be well-formed UUID string.
|
UuidFormatConstraintList
|
Defines several UuidFormatConstraint annotations on the same element. |
ValueOfEnumConstraint
|
The annotated element must be a string representing a value of given enum (ignoring case).
|
ValueOfEnumConstraintList
|
Defines several ValueOfEnumConstraint annotations on the same element. |