public static enum Consumption.Type extends java.lang.Enum<Consumption.Type>
Enum Constant and Description |
---|
ATTEND |
BASKET |
CHECKIN |
COLLECTION |
PURCHASE |
RATING |
VIEW |
WISHLIST |
Modifier and Type | Method and Description |
---|---|
static Consumption.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Consumption.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Consumption.Type VIEW
public static final Consumption.Type ATTEND
public static final Consumption.Type RATING
public static final Consumption.Type WISHLIST
public static final Consumption.Type BASKET
public static final Consumption.Type PURCHASE
public static final Consumption.Type COLLECTION
public static final Consumption.Type CHECKIN
public static Consumption.Type[] values()
for (Consumption.Type c : Consumption.Type.values()) System.out.println(c);
public static Consumption.Type 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 null