public enum RestAddressFormatField extends Enum<RestAddressFormatField>
| Enum Constant and Description |
|---|
CITY |
COUNTRY |
DEPENDENT_LOCALITY |
FAMILY_NAME |
GIVEN_NAME |
ORGANIZATION_NAME |
POST_CODE |
POSTAL_STATE |
SORTING_CODE |
STREET |
| Modifier and Type | Method and Description |
|---|---|
static RestAddressFormatField |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static RestAddressFormatField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestAddressFormatField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestAddressFormatField GIVEN_NAME
public static final RestAddressFormatField FAMILY_NAME
public static final RestAddressFormatField ORGANIZATION_NAME
public static final RestAddressFormatField STREET
public static final RestAddressFormatField DEPENDENT_LOCALITY
public static final RestAddressFormatField CITY
public static final RestAddressFormatField POSTAL_STATE
public static final RestAddressFormatField POST_CODE
public static final RestAddressFormatField SORTING_CODE
public static final RestAddressFormatField COUNTRY
public static RestAddressFormatField[] values()
for (RestAddressFormatField c : RestAddressFormatField.values()) System.out.println(c);
public static RestAddressFormatField 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 getValue()
public String toString()
toString in class Enum<RestAddressFormatField>public static RestAddressFormatField fromValue(String text)
Copyright © 2022. All rights reserved.