|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RestComment.Field>
org.exoplatform.social.client.api.model.RestComment.Field
public static enum RestComment.Field
The fields that represent the RestComment object in json form.
All of the fields that comments can have.
| Enum Constant Summary | |
|---|---|
ACTIVITY_ID
the json field for activityId. |
|
CREATED_AT
the json field for createdAt. |
|
ID
|
|
IDENTITY_ID
the json field for userId. |
|
POSTED_TIME
the json field for postedTime. |
|
POSTER_IDENTITY
the identity who comment the activity |
|
TEXT
the json field for streamTitle. |
|
| Method Summary | |
|---|---|
String |
toString()
emit the field as a json element. |
static RestComment.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RestComment.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 |
|---|
public static final RestComment.Field ID
public static final RestComment.Field IDENTITY_ID
public static final RestComment.Field ACTIVITY_ID
public static final RestComment.Field TEXT
public static final RestComment.Field POSTED_TIME
public static final RestComment.Field CREATED_AT
public static final RestComment.Field POSTER_IDENTITY
| Method Detail |
|---|
public static RestComment.Field[] values()
for (RestComment.Field c : RestComment.Field.values()) System.out.println(c);
public static RestComment.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 name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<RestComment.Field>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||