Supported types are:
BigDecimalBigIntegerCharSequencebyte, short, int, long, and their respective
wrappersdouble and float are not supported due to rounding errors
(some providers might provide some approximative support).
null elements are considered valid.
| Modifier and Type | Class and Description |
|---|---|
| public static @interface | DecimalMin.
Defines several |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public boolean | Returns: true if the value must be higher or equal to the specified minimum,
false if the value must be higherSpecifies whether the specified minimum is inclusive or exclusive. |
| public String | |
| public Class | |
| public String | Returns: value the element must be higher or equal toThe |
| groups | back to summary |
|---|---|
| public Class | |
| inclusive | back to summary |
|---|---|
| public boolean inclusive() Specifies whether the specified minimum is inclusive or exclusive. By default, it is inclusive.
| |
| message | back to summary |
|---|---|
| public String message() | |
| payload | back to summary |
|---|---|
| public Class | |
| value | back to summary |
|---|---|
| public String value() The
| |
DecimalMin annotations on the same element.
DecimalMin
| Modifier and Type | Method and Description |
|---|---|
| public DecimalMin[] |
| value | back to summary |
|---|---|
| public DecimalMin[] value() | |