org.apache.shindig.extras.as.opensocial.model
Enum ActivityObject.Field
java.lang.Object
java.lang.Enum<ActivityObject.Field>
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>
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
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.