public static enum ZoneItem.ZoneType extends Enum<ZoneItem.ZoneType>
Enum Constant and Description |
---|
CONTENT
Content zone.
|
SERVICE
Service zone.
|
Modifier and Type | Method and Description |
---|---|
static ZoneItem.ZoneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZoneItem.ZoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoneItem.ZoneType CONTENT
public static final ZoneItem.ZoneType SERVICE
public static ZoneItem.ZoneType[] values()
for (ZoneItem.ZoneType c : ZoneItem.ZoneType.values()) System.out.println(c);
public static ZoneItem.ZoneType 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 null