@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy={}) public @interface DecimalMax
BigDecimal
BigInteger
String
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 max value according to the
BigDecimal
string representationpublic abstract String message
public abstract Class<?>[] groups
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.