public static enum Message.Field extends Enum<Message.Field>
Enum Constant and Description |
---|
APP_URL |
BODY
the field name for body.
|
BODY_ID
the field name for body id.
|
COLLECTION_IDS
the field name for the collection IDs
|
ID
the field name for the unique ID of this message.
|
IN_REPLY_TO
the field name for the Parent Message Id for this message.
|
RECIPIENTS
the field name for recipient list.
|
REPLIES
the field name for replies to this message
|
SENDER_ID
the field name for the ID of the person who sent this message.
|
STATUS
the field name for status.
|
TIME_SENT
the field name for the time this message was sent.
|
TITLE
the field name for title.
|
TITLE_ID
the field name for title id.
|
TYPE
the field name for type.
|
UPDATED
the field name for updated time stamp.
|
URLS
the field name for urls.
|
Modifier and Type | Field and Description |
---|---|
static Set<String> |
ALL_FIELDS |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Message.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Field APP_URL
public static final Message.Field BODY
public static final Message.Field BODY_ID
public static final Message.Field COLLECTION_IDS
public static final Message.Field ID
public static final Message.Field IN_REPLY_TO
public static final Message.Field REPLIES
public static final Message.Field RECIPIENTS
public static final Message.Field SENDER_ID
public static final Message.Field TIME_SENT
public static final Message.Field TITLE
public static final Message.Field TITLE_ID
public static final Message.Field TYPE
public static final Message.Field STATUS
public static final Message.Field UPDATED
public static final Message.Field URLS
public static Message.Field[] values()
for (Message.Field c : Message.Field.values()) System.out.println(c);
public static Message.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<Message.Field>
Copyright © 2017 WSO2. All rights reserved.