public static enum Location.LocationType extends java.lang.Enum<Location.LocationType>
Enum Constant and Description |
---|
ADDRESS |
CITY |
CITY_POSTAL_CODE |
COUNTRY |
COUNTY |
LAT_LONG |
NEIGHBORHOOD |
POSTAL_CODE |
STATE |
ZIP_PLUS_4 |
Modifier and Type | Method and Description |
---|---|
static Location.LocationType |
forValue(java.lang.String value) |
java.lang.String |
toString() |
static Location.LocationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Location.LocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location.LocationType LAT_LONG
public static final Location.LocationType ADDRESS
public static final Location.LocationType STATE
public static final Location.LocationType CITY
public static final Location.LocationType COUNTY
public static final Location.LocationType NEIGHBORHOOD
public static final Location.LocationType POSTAL_CODE
public static final Location.LocationType COUNTRY
public static final Location.LocationType ZIP_PLUS_4
public static final Location.LocationType CITY_POSTAL_CODE
public static Location.LocationType[] values()
for (Location.LocationType c : Location.LocationType.values()) System.out.println(c);
public static Location.LocationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Location.LocationType>
public static Location.LocationType forValue(java.lang.String value)