Annotation Interface DecimalDescriptor


@Retention(RUNTIME) @Target(FIELD) public @interface DecimalDescriptor
Annotation indicating the precision and scale of a decimal field
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The associated precision of the decimal number
    int
    The associated scale of the decimal number
  • Element Details

    • precision

      int precision
      The associated precision of the decimal number
      Returns:
      The associated precision of the decimal number
    • scale

      int scale
      The associated scale of the decimal number
      Returns:
      The associated scale of the decimal number