public enum MomentType extends Enum<MomentType>
| Enum Constant and Description |
|---|
ADD |
BUY |
CHECK_IN |
COMMENT |
CREATE |
DISCOVER |
LISTEN |
RESERVE |
REVIEW |
WANT |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static MomentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MomentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MomentType ADD
public static final MomentType BUY
public static final MomentType CHECK_IN
public static final MomentType COMMENT
public static final MomentType CREATE
public static final MomentType DISCOVER
public static final MomentType LISTEN
public static final MomentType RESERVE
public static final MomentType REVIEW
public static final MomentType WANT
public static MomentType[] values()
for (MomentType c : MomentType.values()) System.out.println(c);
public static MomentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getType()
Copyright © 2014. All Rights Reserved.