Package io.avaje.validation.constraints
Annotation Interface Negative
@Documented
@Retention(RUNTIME)
@Target({METHOD,FIELD,ANNOTATION_TYPE,PARAMETER,TYPE_USE})
public @interface Negative
The annotated element must be a strictly negative number (i.e. 0 is considered as an invalid
value).
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