public enum USADriveIdSex extends java.lang.Enum<USADriveIdSex>
Enum for Sex field in the US Driver's License
| Enum Constant and Description |
|---|
FEMALE
Female — indicates that the holder's sex is defined as female.
|
MALE
Male — indicates that the holder's sex is defined as male.
|
NONE
Not filled - equal to NONE
|
NOT_SPECIFIED
Not specified
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static USADriveIdSex |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static USADriveIdSex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final USADriveIdSex NONE
Not filled - equal to NONE
public static final USADriveIdSex MALE
Male — indicates that the holder's sex is defined as male.
public static final USADriveIdSex FEMALE
Female — indicates that the holder's sex is defined as female.
public static final USADriveIdSex NOT_SPECIFIED
Not specified
public static USADriveIdSex[] values()
for (USADriveIdSex c : USADriveIdSex.values()) System.out.println(c);
public static USADriveIdSex valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()