public static enum Name.Field extends Enum<Name.Field>
Enum Constant and Description |
---|
ADDITIONAL_NAME
The additional name.
|
FAMILY_NAME
The family name.
|
FORMATTED
The formatted name.
|
GIVEN_NAME
The given name.
|
HONORIFIC_PREFIX
The honorific prefix.
|
HONORIFIC_SUFFIX
The honorific suffix.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Name.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Name.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Name.Field ADDITIONAL_NAME
public static final Name.Field FAMILY_NAME
public static final Name.Field GIVEN_NAME
public static final Name.Field HONORIFIC_PREFIX
public static final Name.Field HONORIFIC_SUFFIX
public static final Name.Field FORMATTED
public static Name.Field[] values()
for (Name.Field c : Name.Field.values()) System.out.println(c);
public static Name.Field 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<Name.Field>
Enum.toString()
Copyright © 2019 WSO2. All Rights Reserved.