Enum Message.Field
- All Implemented Interfaces:
Serializable,Comparable<Message.Field>,java.lang.constant.Constable
- Enclosing interface:
Message
An enumeration of field names in a message.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe field name for body.the field name for body id.the field name for the collection IDsthe field name for the unique ID of this message.the field name for the Parent Message Id for this message.the field name for recipient list.the field name for replies to this messagethe field name for the ID of the person who sent this message.the field name for status.the field name for the time this message was sent.the field name for title.the field name for title id.the field name for type.the field name for updated time stamp.the field name for urls. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontoString()static Message.FieldReturns 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.
-
Enum Constant Details
-
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. -
REPLIES
the field name for replies to this message -
RECIPIENTS
the field name for recipient list. -
SENDER_ID
the field name for the ID of the person who sent this message. -
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. -
STATUS
the field name for status. -
UPDATED
the field name for updated time stamp. -
URLS
the field name for urls.
-
-
Field Details
-
ALL_FIELDS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<Message.Field>- Returns:
- a string representation of the enum.
-