org.wso2.carbon.registry.social.api.activityStream
Enum ActivityEntry.Field
java.lang.Object
java.lang.Enum<ActivityEntry.Field>
org.wso2.carbon.registry.social.api.activityStream.ActivityEntry.Field
- All Implemented Interfaces:
- Serializable, Comparable<ActivityEntry.Field>
- Enclosing interface:
- ActivityEntry
public static enum ActivityEntry.Field
- extends Enum<ActivityEntry.Field>
Fields that represent the JSON elements.
ACTOR
public static final ActivityEntry.Field ACTOR
CONTENT
public static final ActivityEntry.Field CONTENT
GENERATOR
public static final ActivityEntry.Field GENERATOR
ICON
public static final ActivityEntry.Field ICON
ID
public static final ActivityEntry.Field ID
OBJECT
public static final ActivityEntry.Field OBJECT
PUBLISHED
public static final ActivityEntry.Field PUBLISHED
PROVIDER
public static final ActivityEntry.Field PROVIDER
TARGET
public static final ActivityEntry.Field TARGET
TITLE
public static final ActivityEntry.Field TITLE
UPDATED
public static final ActivityEntry.Field UPDATED
URL
public static final ActivityEntry.Field URL
VERB
public static final ActivityEntry.Field VERB
values
public static ActivityEntry.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 (ActivityEntry.Field c : ActivityEntry.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 ActivityEntry.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<ActivityEntry.Field>
- Returns:
- String the name of the JSON element
Copyright © 2012 WSO2 Inc. All Rights Reserved.