Annotation Interface Digits


The annotated element must be a number within accepted range.

Supported types are:

  • BigDecimal
  • BigInteger
  • CharSequence
  • byte, short, int, long, and their respective wrapper types

null elements are considered valid.

Author:
Emmanuel Bernard
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
    Class<?>[]
     
     
  • Element Details

    • message

      String message
      Default:
      "{avaje.Digits.message}"
    • groups

      Class<?>[] groups
      Default:
      {}
    • integer

      int integer
    • fraction

      int fraction
      Default:
      0