Annotation Type Length

    • Required Element Summary

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

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

      • value

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