|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Address.Field>
org.wso2.carbon.registry.social.api.people.userprofile.model.Address.Field
public static enum Address.Field
The fields that represent the address object in json form.
Enum Constant Summary | |
---|---|
COUNTRY
the field name for country. |
|
FORMATTED
the field name for formatted. |
|
LATITUDE
the field name for latitude. |
|
LOCALITY
the field name for locality. |
|
LONGITUDE
the field name for longitude. |
|
POSTAL_CODE
the field name for postalCode. |
|
PRIMARY
the field name for primary. |
|
REGION
the field name for region. |
|
STREET_ADDRESS
the feild name for streetAddress this field may be multiple lines. |
|
TYPE
the field name for type. |
Method Summary | |
---|---|
String |
toString()
emit the field as a json element. |
static Address.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Address.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 Address.Field COUNTRY
public static final Address.Field LATITUDE
public static final Address.Field LOCALITY
public static final Address.Field LONGITUDE
public static final Address.Field POSTAL_CODE
public static final Address.Field REGION
public static final Address.Field STREET_ADDRESS
public static final Address.Field TYPE
public static final Address.Field FORMATTED
public static final Address.Field PRIMARY
Method Detail |
---|
public static Address.Field[] values()
for (Address.Field c : Address.Field.values()) System.out.println(c);
public static Address.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<Address.Field>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |