Annotation Interface NegativeOrZero
@Target({METHOD,FIELD,ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
public @interface NegativeOrZero
The annotated element must be a negative number or 0.
Supported types are:
BigDecimalBigIntegerbyte,short,int,long,float,doubleand their respective wrappers
null elements are considered valid.
- Author:
- Gunnar Morling
-
Optional Element Summary
Optional Elements