public static enum Item.ItemType extends java.lang.Enum<Item.ItemType>
Enum Constant and Description |
---|
avl_hw
hardware type
|
avl_resource
resource
|
avl_retranslator
retranslator
|
avl_route
route
|
avl_unit
unit
|
avl_unit_group
unit_group
|
user
user
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getItemClass() |
static Item.ItemType |
getItemTypeByClass(java.lang.Class itemClass) |
static Item.ItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Item.ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Item.ItemType avl_unit
public static final Item.ItemType user
public static final Item.ItemType avl_resource
public static final Item.ItemType avl_unit_group
public static final Item.ItemType avl_hw
public static final Item.ItemType avl_retranslator
public static final Item.ItemType avl_route
public static Item.ItemType[] values()
for (Item.ItemType c : Item.ItemType.values()) System.out.println(c);
public static Item.ItemType 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.Class getItemClass()
public static Item.ItemType getItemTypeByClass(java.lang.Class itemClass)