public enum LocationTargetType extends Enum<LocationTargetType>
Enum Constant and Description |
---|
CITY |
COUNTRY |
METRO_AREA |
POSTAL_CODE |
STATE |
Modifier and Type | Method and Description |
---|---|
static LocationTargetType |
fromValue(String v) |
String |
value() |
static LocationTargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationTargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationTargetType POSTAL_CODE
public static final LocationTargetType CITY
public static final LocationTargetType METRO_AREA
public static final LocationTargetType STATE
public static final LocationTargetType COUNTRY
public static LocationTargetType[] values()
for (LocationTargetType c : LocationTargetType.values()) System.out.println(c);
public static LocationTargetType 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 value()
public static LocationTargetType fromValue(String v)
Copyright © 2024. All rights reserved.