Annotation Type Numeric

    • Required Element Summary

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

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean off
      Allows to disable validation rule if validation inherited from super class.
      int precision  
    • Element Detail

      • scale

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

        boolean off
        Allows to disable validation rule if validation inherited from super class. By default, disable is off
        Returns:
        true if the validation must be disabled, false otherwise
        Default:
        false
      • precision

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