public enum ItemVersion extends java.lang.Enum<ItemVersion>
| Enum Constant and Description |
|---|
DATA_DRIVEN |
LEGACY |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static ItemVersion |
from(int ordinal) |
static ItemVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemVersion LEGACY
public static final ItemVersion DATA_DRIVEN
public static final ItemVersion NONE
public static ItemVersion[] values()
for (ItemVersion c : ItemVersion.values()) System.out.println(c);
public static ItemVersion 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 static ItemVersion from(int ordinal)