@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy={}) public @interface Max
BigDecimal
BigInteger
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.Copyright © 2007-2013. All Rights Reserved.