org.apache.shindig.extras.as.opensocial.model
Enum ActivityObject.Field

java.lang.Object
  extended by java.lang.Enum<ActivityObject.Field>
      extended by org.apache.shindig.extras.as.opensocial.model.ActivityObject.Field
All Implemented Interfaces:
Serializable, Comparable<ActivityObject.Field>
Enclosing interface:
ActivityObject

public static enum ActivityObject.Field
extends Enum<ActivityObject.Field>


Enum Constant Summary
ACTION
           
ATTACHED
           
DOWNSTREAM_DUPLICATE_ID
           
ID
           
IN_REPLY_TO
           
MEDIA
           
NAME
           
PERMALINK
           
REACTION
           
REPLY
           
STANDARD_LINK
           
SUMMARY
           
TYPE
           
UPSTREAM_DUPLICATE_ID
           
 
Method Summary
 String toString()
          Returns the name of the JSON element.
static ActivityObject.Field valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ActivityObject.Field[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ID

public static final ActivityObject.Field ID

NAME

public static final ActivityObject.Field NAME

SUMMARY

public static final ActivityObject.Field SUMMARY

MEDIA

public static final ActivityObject.Field MEDIA

PERMALINK

public static final ActivityObject.Field PERMALINK

TYPE

public static final ActivityObject.Field TYPE

IN_REPLY_TO

public static final ActivityObject.Field IN_REPLY_TO

ATTACHED

public static final ActivityObject.Field ATTACHED

REPLY

public static final ActivityObject.Field REPLY

REACTION

public static final ActivityObject.Field REACTION

ACTION

public static final ActivityObject.Field ACTION

UPSTREAM_DUPLICATE_ID

public static final ActivityObject.Field UPSTREAM_DUPLICATE_ID

DOWNSTREAM_DUPLICATE_ID

public static final ActivityObject.Field DOWNSTREAM_DUPLICATE_ID

STANDARD_LINK

public static final ActivityObject.Field STANDARD_LINK
Method Detail

values

public static ActivityObject.Field[] 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 (ActivityObject.Field c : ActivityObject.Field.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ActivityObject.Field 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

toString

public String toString()
Returns the name of the JSON element.

Overrides:
toString in class Enum<ActivityObject.Field>
Returns:
String the name of the JSON element


Copyright © 2007-2012. All Rights Reserved.