Package nxt
Enum DigitalGoodsStore.Event
- java.lang.Object
-
- java.lang.Enum<DigitalGoodsStore.Event>
-
- nxt.DigitalGoodsStore.Event
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DigitalGoodsStore.Event>
- Enclosing class:
- DigitalGoodsStore
public static enum DigitalGoodsStore.Event extends java.lang.Enum<DigitalGoodsStore.Event>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELIVERY
FEEDBACK
GOODS_DELISTED
GOODS_LISTED
GOODS_PRICE_CHANGE
GOODS_QUANTITY_CHANGE
PURCHASE
REFUND
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DigitalGoodsStore.Event
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DigitalGoodsStore.Event[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GOODS_LISTED
public static final DigitalGoodsStore.Event GOODS_LISTED
-
GOODS_DELISTED
public static final DigitalGoodsStore.Event GOODS_DELISTED
-
GOODS_PRICE_CHANGE
public static final DigitalGoodsStore.Event GOODS_PRICE_CHANGE
-
GOODS_QUANTITY_CHANGE
public static final DigitalGoodsStore.Event GOODS_QUANTITY_CHANGE
-
PURCHASE
public static final DigitalGoodsStore.Event PURCHASE
-
DELIVERY
public static final DigitalGoodsStore.Event DELIVERY
-
REFUND
public static final DigitalGoodsStore.Event REFUND
-
FEEDBACK
public static final DigitalGoodsStore.Event FEEDBACK
-
-
Method Detail
-
values
public static DigitalGoodsStore.Event[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DigitalGoodsStore.Event c : DigitalGoodsStore.Event.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigitalGoodsStore.Event valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-