|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Name.Field>
org.wso2.carbon.registry.social.api.people.userprofile.model.Name.Field
public static enum Name.Field
An enumeration of fields in the json name object.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Name.Field>
Enum.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |