public static enum RestActivity.Field extends Enum<RestActivity.Field>
| Enum Constant and Description |
|---|
ACTIVITY_STREAM
the json field for activityStream
|
APP_ID
the json field for appId.
|
BODY
the json field for body.
|
COMMENTS
the json field for Comments
|
CREATED_AT
the json field for createdAt.
|
ID
the json field for id.
|
IDENTITY_ID
the json field for identityId.
|
LAST_UPDATED
the json field for lastUpdatedTime.
|
LIKED
the json field for liked.
|
LIKED_BY_IDENTITIES
the json field for likedByIdentities
|
POSTED_TIME
the json field for postedTime.
|
POSTER_IDENTITY
the json field for posterIdentity.
|
PRIORITY
the json field for priority.
|
TEMPLATE_PARAMS
the json field for templateParams.
|
TITLE
the json field for title.
|
TITLE_ID
the json field for titleId.
|
TOTAL_NUMBER_OF_COMMENTS
the json field for numberOfCommens
|
TOTAL_NUMBER_OF_LIKES
the json field for numberOfLikes
|
TYPE
the json field for type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
emit the field as a json element.
|
static RestActivity.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestActivity.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestActivity.Field ID
public static final RestActivity.Field TITLE
public static final RestActivity.Field BODY
public static final RestActivity.Field APP_ID
public static final RestActivity.Field TYPE
public static final RestActivity.Field POSTED_TIME
public static final RestActivity.Field LAST_UPDATED
public static final RestActivity.Field POSTER_IDENTITY
public static final RestActivity.Field CREATED_AT
public static final RestActivity.Field PRIORITY
public static final RestActivity.Field TEMPLATE_PARAMS
public static final RestActivity.Field TITLE_ID
public static final RestActivity.Field IDENTITY_ID
public static final RestActivity.Field LIKED
public static final RestActivity.Field LIKED_BY_IDENTITIES
public static final RestActivity.Field COMMENTS
public static final RestActivity.Field TOTAL_NUMBER_OF_COMMENTS
public static final RestActivity.Field TOTAL_NUMBER_OF_LIKES
public static final RestActivity.Field ACTIVITY_STREAM
public static RestActivity.Field[] values()
for (RestActivity.Field c : RestActivity.Field.values()) System.out.println(c);
public static RestActivity.Field valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<RestActivity.Field>Copyright © 2011–2015 eXo Platform SAS. All rights reserved.