@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=DecimalMin.List.class) @Documented @Constraint(validatedBy={}) public @interface DecimalMin
Supported types are:
BigDecimal
BigInteger
CharSequence
byte
, 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.
public abstract String value
String
representation of the min value according to the
BigDecimal
string representation.public abstract String message
public abstract Class<?>[] groups
Copyright © 2020 JBoss by Red Hat. All rights reserved.