org.csapi.jr.se.mmm
Class MailboxMessageStatus

java.lang.Object
  extended byorg.csapi.jr.se.mmm.MailboxMessageStatus
All Implemented Interfaces:
java.io.Serializable

public final class MailboxMessageStatus
extends java.lang.Object
implements java.io.Serializable

Defines the status of messages stored in the Mailbox. The first 4 status items are applicable to messages which have been received. The 5th status item refers to messages which have been created or put in the Mailbox and not yet sent. The remaining items are applicable to messages which have been sent from the mailbox, and for which a status is recorded and updated depending on any delivery reports which have been received.

See Also:
Serialized Form

Field Summary
static int _MMM_DRAFT_MSG_STATUS_SAVED_OR_UNSENT
          The message has been saved as a draft or is unsent
static int _MMM_RECEIVED_MSG_STATUS_FORWARDED
          The message received has been forwarded
static int _MMM_RECEIVED_MSG_STATUS_READ
          The message received has been read
static int _MMM_RECEIVED_MSG_STATUS_REPLIED_TO
          The message received has been replied to
static int _MMM_RECEIVED_MSG_STATUS_UNREAD
          The message received has not been read
static int _MMM_SENT_MSG_STATUS_DELETED_UNREAD
          The message sent has been deleted without being read
static int _MMM_SENT_MSG_STATUS_DELIVERED
          The message sent has been delivered
static int _MMM_SENT_MSG_STATUS_EXPIRED
          The message sent has expired before it was delivered
static int _MMM_SENT_MSG_STATUS_NOT_DELIVERABLE
          The message sent was undeliverable
static int _MMM_SENT_MSG_STATUS_READ
          The message sent has been read
static int _MMM_SENT_MSG_STATUS_SENT
          The message has been sent.
static MailboxMessageStatus MMM_DRAFT_MSG_STATUS_SAVED_OR_UNSENT
          The message has been saved as a draft or is unsent
static MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_FORWARDED
          The message received has been forwarded
static MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_READ
          The message received has been read
static MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_REPLIED_TO
          The message received has been replied to
static MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_UNREAD
          The message received has not been read
static MailboxMessageStatus MMM_SENT_MSG_STATUS_DELETED_UNREAD
          The message sent has been deleted without being read
static MailboxMessageStatus MMM_SENT_MSG_STATUS_DELIVERED
          The message sent has been delivered
static MailboxMessageStatus MMM_SENT_MSG_STATUS_EXPIRED
          The message sent has expired before it was delivered
static MailboxMessageStatus MMM_SENT_MSG_STATUS_NOT_DELIVERABLE
          The message sent was undeliverable
static MailboxMessageStatus MMM_SENT_MSG_STATUS_READ
          The message sent has been read
static MailboxMessageStatus MMM_SENT_MSG_STATUS_SENT
          The message has been sent.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static MailboxMessageStatus getObject(int value)
          Accepts values in the range of 0 to 10
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_MMM_RECEIVED_MSG_STATUS_READ

public static final int _MMM_RECEIVED_MSG_STATUS_READ
The message received has been read

See Also:
Constant Field Values

MMM_RECEIVED_MSG_STATUS_READ

public static final MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_READ
The message received has been read


_MMM_RECEIVED_MSG_STATUS_UNREAD

public static final int _MMM_RECEIVED_MSG_STATUS_UNREAD
The message received has not been read

See Also:
Constant Field Values

MMM_RECEIVED_MSG_STATUS_UNREAD

public static final MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_UNREAD
The message received has not been read


_MMM_RECEIVED_MSG_STATUS_FORWARDED

public static final int _MMM_RECEIVED_MSG_STATUS_FORWARDED
The message received has been forwarded

See Also:
Constant Field Values

MMM_RECEIVED_MSG_STATUS_FORWARDED

public static final MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_FORWARDED
The message received has been forwarded


_MMM_RECEIVED_MSG_STATUS_REPLIED_TO

public static final int _MMM_RECEIVED_MSG_STATUS_REPLIED_TO
The message received has been replied to

See Also:
Constant Field Values

MMM_RECEIVED_MSG_STATUS_REPLIED_TO

public static final MailboxMessageStatus MMM_RECEIVED_MSG_STATUS_REPLIED_TO
The message received has been replied to


_MMM_DRAFT_MSG_STATUS_SAVED_OR_UNSENT

public static final int _MMM_DRAFT_MSG_STATUS_SAVED_OR_UNSENT
The message has been saved as a draft or is unsent

See Also:
Constant Field Values

MMM_DRAFT_MSG_STATUS_SAVED_OR_UNSENT

public static final MailboxMessageStatus MMM_DRAFT_MSG_STATUS_SAVED_OR_UNSENT
The message has been saved as a draft or is unsent


_MMM_SENT_MSG_STATUS_SENT

public static final int _MMM_SENT_MSG_STATUS_SENT
The message has been sent. No further information is available, because no delivery report was received, or none was requested

See Also:
Constant Field Values

MMM_SENT_MSG_STATUS_SENT

public static final MailboxMessageStatus MMM_SENT_MSG_STATUS_SENT
The message has been sent. No further information is available, because no delivery report was received, or none was requested


_MMM_SENT_MSG_STATUS_DELIVERED

public static final int _MMM_SENT_MSG_STATUS_DELIVERED
The message sent has been delivered

See Also:
Constant Field Values

MMM_SENT_MSG_STATUS_DELIVERED

public static final MailboxMessageStatus MMM_SENT_MSG_STATUS_DELIVERED
The message sent has been delivered


_MMM_SENT_MSG_STATUS_READ

public static final int _MMM_SENT_MSG_STATUS_READ
The message sent has been read

See Also:
Constant Field Values

MMM_SENT_MSG_STATUS_READ

public static final MailboxMessageStatus MMM_SENT_MSG_STATUS_READ
The message sent has been read


_MMM_SENT_MSG_STATUS_DELETED_UNREAD

public static final int _MMM_SENT_MSG_STATUS_DELETED_UNREAD
The message sent has been deleted without being read

See Also:
Constant Field Values

MMM_SENT_MSG_STATUS_DELETED_UNREAD

public static final MailboxMessageStatus MMM_SENT_MSG_STATUS_DELETED_UNREAD
The message sent has been deleted without being read


_MMM_SENT_MSG_STATUS_NOT_DELIVERABLE

public static final int _MMM_SENT_MSG_STATUS_NOT_DELIVERABLE
The message sent was undeliverable

See Also:
Constant Field Values

MMM_SENT_MSG_STATUS_NOT_DELIVERABLE

public static final MailboxMessageStatus MMM_SENT_MSG_STATUS_NOT_DELIVERABLE
The message sent was undeliverable


_MMM_SENT_MSG_STATUS_EXPIRED

public static final int _MMM_SENT_MSG_STATUS_EXPIRED
The message sent has expired before it was delivered

See Also:
Constant Field Values

MMM_SENT_MSG_STATUS_EXPIRED

public static final MailboxMessageStatus MMM_SENT_MSG_STATUS_EXPIRED
The message sent has expired before it was delivered

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the MailboxMessageStatus object

getObject

public static MailboxMessageStatus getObject(int value)
                                      throws InvalidEnumValueException
Accepts values in the range of 0 to 10

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.