@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Max.List.class) @Documented @Constraint(validatedBy={}) public @interface Max
Supported types are:
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 © 2021 JBoss by Red Hat. All rights reserved.