Annotation Type LatinAlphabetOnly

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean allowsDigits
      Returns true if the annotated element can contain digits
      boolean allowsLowercase
      Returns true if the annotated element can contain lowercase letters
      boolean allowsUppercase
      Returns true if the annotated element can contain uppercase letters
      boolean off
      Allows disabling the validation rule if this rule is inherited from super class.
      String punctuations
      Returns all supported punctuations
    • Element Detail

      • 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
      • allowsUppercase

        boolean allowsUppercase
        Returns true if the annotated element can contain uppercase letters
        Returns:
        true if the annotated element can contain uppercase letters
        Default:
        true
      • allowsLowercase

        boolean allowsLowercase
        Returns true if the annotated element can contain lowercase letters
        Returns:
        true if the annotated element can contain lowercase letters
        Default:
        true
      • allowsDigits

        boolean allowsDigits
        Returns true if the annotated element can contain digits
        Returns:
        true if the annotated element can contain digits
        Default:
        true
      • punctuations

        String punctuations
        Returns all supported punctuations
        Returns:
        all supported punctuations
        Default:
        "~!@#$%^&*()_+=-[]{},.;:<>?/\\\"\' \t|\r\n"