com.googlecode.googleplus.model.moments
Enum MomentType
java.lang.Object
java.lang.Enum<MomentType>
com.googlecode.googleplus.model.moments.MomentType
- All Implemented Interfaces:
- Serializable, Comparable<MomentType>
public enum MomentType
- extends Enum<MomentType>
ADD
public static final MomentType ADD
BUY
public static final MomentType BUY
CHECK_IN
public static final MomentType CHECK_IN
COMMENT
public static final MomentType COMMENT
CREATE
public static final MomentType CREATE
DISCOVER
public static final MomentType DISCOVER
LISTEN
public static final MomentType LISTEN
RESERVE
public static final MomentType RESERVE
REVIEW
public static final MomentType REVIEW
WANT
public static final MomentType WANT
values
public static MomentType[] 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 (MomentType c : MomentType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MomentType valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getType
public String getType()
Copyright © 2014. All Rights Reserved.