Annotation Type Numeric

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int scale
      Returns the expected scale.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean off
      Allows disabling the validation rule if this rule is inherited from super class.
      int precision
      Returns the expected precision.
    • Element Detail

      • scale

        int scale
        Returns the expected scale.
        Returns:
        the expected scale of fractional digits accepted for this number or -1 if validation of scale must be ignored
      • off

        boolean off
        Allows disabling the validation rule if this rule is inherited from super class.

        By default, disable is off.

        Returns:
        true if the validation must be disabled.
        Default:
        false
      • precision

        int precision
        Returns the expected precision.
        Returns:
        the expected precision of fractional digits accepted for this number or -1 if validation of precision must be ignored
        Default:
        -1