|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(value=RUNTIME)
@Documented
@Constraint(validatedBy={})
public @interface DecimalMinThe annotated element must be a number whose value must be higher or equal to the specified minimum.
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.
| Required Element Summary | |
|---|---|
String |
value
The String representation of the min value according to the
BigDecimal string representation. |
| Optional Element Summary | |
|---|---|
Class<?>[] |
groups
|
boolean |
inclusive
Specifies whether the specified minimum is inclusive or exclusive. |
String |
message
|
Class<? extends Payload>[] |
payload
|
| Element Detail |
|---|
public abstract String value
String representation of the min value according to the
BigDecimal string representation.
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends Payload>[] payload
public abstract boolean inclusive
true if the value must be higher or equal to the specified minimum,
false if the value must be higher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||