Enum Class USADriveIdSex

java.lang.Object
java.lang.Enum<USADriveIdSex>
com.aspose.barcode.complexbarcode.USADriveIdSex
All Implemented Interfaces:
Serializable, Comparable<USADriveIdSex>, Constable

public enum USADriveIdSex extends Enum<USADriveIdSex>

Enum for Sex field in the US Driver's License

  • Enum Constant Details

    • NONE

      public static final USADriveIdSex NONE

      Not filled - equal to NONE

    • MALE

      public static final USADriveIdSex MALE

      Male — indicates that the holder's sex is defined as male.

    • FEMALE

      public static final USADriveIdSex FEMALE

      Female — indicates that the holder's sex is defined as female.

    • NOT_SPECIFIED

      public static final USADriveIdSex NOT_SPECIFIED

      Not specified

  • Method Details

    • values

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

      public static USADriveIdSex valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()