Package com.independentsoft.msg
Enum Class MessageFlag
- All Implemented Interfaces:
Serializable,Comparable<MessageFlag>,Constable
Contains a value that indicates the origin and current state of 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 message is an associated message of a folder.The messaging user sending was the messaging user receiving the message.The message has at least one attachment.A nonread report needs to be sent for the message.The incoming message arrived over the Internet.The incoming message arrived over an external link other than X.400 or the Internet.The incoming message arrived over an X.400 link.The message is marked as having been read.A read report needs to be sent for the message.The message includes a request for a resend operation with a non-delivery report.The message is marked for sending.The outgoing message has not been modified since the first time that it was saved; the incoming message has not been modified since it was delivered.The message is still being composed. -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageFlagReturns the enum constant of this class with the specified name.static MessageFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASSOCIATED
The message is an associated message of a folder. The client or provider has read-only access to this flag. The Read flag is ignored for associated messages, which do not retain a read/unread state. -
FROM_ME
The messaging user sending was the messaging user receiving the message. This flag is meant to be set by the transport provider. -
HAS_ATTACHMENT
The message has at least one attachment. The client has read-only access to this flag. -
NON_READ_REPORT_PENDING
A nonread report needs to be sent for the message. The client or provider has read-only access to this flag. -
ORIGIN_INTERNET
The incoming message arrived over the Internet. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access. -
ORIGIN_MISC_EXTERNAL
The incoming message arrived over an external link other than X.400 or the Internet. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access. -
ORIGIN_X400
The incoming message arrived over an X.400 link. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access. -
READ
The message is marked as having been read. This flag is ignored if the Associated flag is set. -
RESEND
The message includes a request for a resend operation with a non-delivery report. -
READ_REPORT_PENDING
A read report needs to be sent for the message. The client or provider has read-only access to this flag. -
SUBMIT
The message is marked for sending. Message store providers set this flag; the client has read-only access. -
UNMODIFIED
The outgoing message has not been modified since the first time that it was saved; the incoming message has not been modified since it was delivered. -
UNSENT
The message is still being composed. It is saved, but has not been sent. Typically, this flag is cleared after the message is sent.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-