@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=PositiveOrZero.List.class) @Documented @Constraint(validatedBy={}) public @interface PositiveOrZero
Supported types are:
BigDecimal
BigInteger
byte
, short
, int
, long
, float
,
double
and their respective wrappers
null
elements are considered valid.
Comments to: bean-validation-dev@eclipse.org.
Copyright © 2019,2020 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.