|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MessageCollection.Field>
org.wso2.carbon.registry.social.api.message.MessageCollection.Field
public static enum MessageCollection.Field
An enumeration of field names in a message.
Enum Constant Summary | |
---|---|
ID
|
|
TITLE
the field name for the title of this message collection. |
|
TOTAL
the field name for total number of messages. |
|
UNREAD
the field name for the total number of unread messages |
|
UPDATED
The field name for the updated time stamp |
Field Summary | |
---|---|
static Set<String> |
ALL_FIELDS
|
Method Summary | |
---|---|
String |
toString()
|
static MessageCollection.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MessageCollection.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 MessageCollection.Field ID
public static final MessageCollection.Field TITLE
public static final MessageCollection.Field TOTAL
public static final MessageCollection.Field UNREAD
public static final MessageCollection.Field UPDATED
Field Detail |
---|
public static final Set<String> ALL_FIELDS
Method Detail |
---|
public static MessageCollection.Field[] values()
for (MessageCollection.Field c : MessageCollection.Field.values()) System.out.println(c);
public static MessageCollection.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<MessageCollection.Field>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |