com.googlecode.googleplus.model.moments
Enum MomentType

java.lang.Object
  extended by java.lang.Enum<MomentType>
      extended by com.googlecode.googleplus.model.moments.MomentType
All Implemented Interfaces:
Serializable, Comparable<MomentType>

public enum MomentType
extends Enum<MomentType>


Enum Constant Summary
ADD
           
BUY
           
CHECK_IN
           
COMMENT
           
CREATE
           
DISCOVER
           
LISTEN
           
RESERVE
           
REVIEW
           
WANT
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.