Annotation Type Length

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      Returns the expected string length.
    • 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.
    • Element Detail

      • value

        int value
        Returns the expected string length.
        Returns:
        the expected string length
      • 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