public static enum ItemMetadata.ItemType extends Enum<ItemMetadata.ItemType>
Enum Constant and Description |
---|
GROUP
Group item type.
|
PROPERTY
Property item type.
|
Modifier and Type | Method and Description |
---|---|
static ItemMetadata.ItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemMetadata.ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemMetadata.ItemType GROUP
public static final ItemMetadata.ItemType PROPERTY
public static ItemMetadata.ItemType[] values()
for (ItemMetadata.ItemType c : ItemMetadata.ItemType.values()) System.out.println(c);
public static ItemMetadata.ItemType 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