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