@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=NegativeOrZero.List.class) @Documented @Constraint(validatedBy={}) public @interface NegativeOrZero
Supported types are:
BigDecimal
BigInteger
byte
, short
, int
, long
, float
,
double
and their respective wrappers
null
elements are considered valid.
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.