Enum UUID.LetterCase

java.lang.Object
java.lang.Enum<UUID.LetterCase>
org.hibernate.validator.constraints.UUID.LetterCase
All Implemented Interfaces:
Serializable, Comparable<UUID.LetterCase>, java.lang.constant.Constable
Enclosing class:
UUID

public static enum UUID.LetterCase extends Enum<UUID.LetterCase>
Required letter case for hex characters
  • Enum Constant Details

    • LOWER_CASE

      public static final UUID.LetterCase LOWER_CASE
      Only lower case is valid
    • UPPER_CASE

      public static final UUID.LetterCase UPPER_CASE
      Only upper case is valid
    • INSENSITIVE

      public static final UUID.LetterCase INSENSITIVE
      Every letter case is valid
  • Method Details

    • values

      public static UUID.LetterCase[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static UUID.LetterCase valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null