|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Restrictions,
that impose simple constraints over the annotated element, like
NonNull,
Positive, etc.
See:
Description
| Annotation Types Summary | |
|---|---|
| Between | An annotation that signals that an annotated must be between a min and a max value, both inclusive. |
| Matches | A check annotation that signals that the annotated element matches a regular
expression
Annotated elements should be of type String |
| MaxSize | A check annotation that signals the annotated element's size must be less than or equal to the given value. |
| MinSize | A check annotation that signals the annotated element's size must be, at minimum, the given value. |
| NonNull | A check annotation that signals that the annotated element is non nullable. |
| NotEmpty | A check annotation that signals that the annotated element can not be empty. |
| NotNegative | A check annotation that signals that the annotated element must not be negative, that is, they must greater than or equal to zero. |
| NotZero | A check annotation that signals that the annotated element must
not be zero
This annotation should only be applied to Numbers and primitive
numeric types. |
| Positive | A check annotation that signals that the annotated element must be positive, that is, greater than 0. |
| Size | A check annotation that signals that the annotated element must have an given size or length. |
This packages contains check annotations -
Restrictions,
that impose simple constraints over the annotated element, like
NonNull,
Positive, etc.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||