public enum NamePrefix1Code extends java.lang.Enum<NamePrefix1Code>
Enum Constant and Description |
---|
DOCT
Title of the person is Doctor or Dr.
|
MADM
Title of the person is Madam.
|
MISS
Title of the person is Miss.
|
MIST
Title of the person is Mister or Mr.
|
Modifier and Type | Method and Description |
---|---|
static NamePrefix1Code |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static NamePrefix1Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NamePrefix1Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamePrefix1Code DOCT
public static final NamePrefix1Code MIST
public static final NamePrefix1Code MISS
public static final NamePrefix1Code MADM
public static NamePrefix1Code[] values()
for (NamePrefix1Code c : NamePrefix1Code.values()) System.out.println(c);
public static NamePrefix1Code 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 java.lang.String value()
public static NamePrefix1Code fromValue(java.lang.String v)