public static enum PersonName.NameField extends Enum<PersonName.NameField>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
CREDENTIALS
Professional qualifiers that in English generally follow the actual name,
such as "M.D." or "J.D.".
|
GENERATION
Generational qualifiers that in English generally follow the actual name,
such as "Jr." or "III".
|
GIVEN
The given name.
|
GIVEN2
Additional given names.
|
SURNAME
The surname.
|
SURNAME2
Additional surnames.
|
TITLE
Contains titles such as "Mr.", "Dr." (in English these typically
precede the name)
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the NameField's display name.
|
static PersonName.NameField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersonName.NameField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOfpublic static final PersonName.NameField TITLE
public static final PersonName.NameField GIVEN
public static final PersonName.NameField GIVEN2
public static final PersonName.NameField SURNAME
public static final PersonName.NameField SURNAME2
public static final PersonName.NameField GENERATION
public static final PersonName.NameField CREDENTIALS
public static PersonName.NameField[] values()
public static PersonName.NameField valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<PersonName.NameField>