Annotation Interface Positive


The annotated element must be a strictly positive number (i.e. 0 is considered as an invalid value).

Supported types are:

  • BigDecimal
  • BigInteger
  • byte, short, int, long, float, double and their respective wrappers

null elements are considered valid.

Since:
2.0