org.csapi.jr.se.mmm
Class MessagingEventName

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

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

Defines the names of the messaging events which can be notified.

See Also:
Serialized Form

Field Summary
static int _EVENT_MSG_NAME_UNDEFINED
          Undefined
static int _EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED
          New message arrived in the mailbox.
static int _EVENT_MSG_NEW_MESSAGE_ARRIVED
          New message arrived.
static int _EVENT_MSG_STATUS_REPORT_ARRIVED
          New message status report arrived as a result of using the sending with notification functionality.
static MessagingEventName EVENT_MSG_NAME_UNDEFINED
          Undefined
static MessagingEventName EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED
          New message arrived in the mailbox.
static MessagingEventName EVENT_MSG_NEW_MESSAGE_ARRIVED
          New message arrived.
static MessagingEventName EVENT_MSG_STATUS_REPORT_ARRIVED
          New message status report arrived as a result of using the sending with notification functionality.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static MessagingEventName getObject(int value)
          Accepts values in the range of 0 to 3
 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

_EVENT_MSG_NAME_UNDEFINED

public static final int _EVENT_MSG_NAME_UNDEFINED
Undefined

See Also:
Constant Field Values

EVENT_MSG_NAME_UNDEFINED

public static final MessagingEventName EVENT_MSG_NAME_UNDEFINED
Undefined


_EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED

public static final int _EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED
New message arrived in the mailbox. The message contents are not requested/delivered - the message can be retrieved from the mailbox.

See Also:
Constant Field Values

EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED

public static final MessagingEventName EVENT_MSG_NEW_MAILBOX_MESSAGE_ARRIVED
New message arrived in the mailbox. The message contents are not requested/delivered - the message can be retrieved from the mailbox.


_EVENT_MSG_NEW_MESSAGE_ARRIVED

public static final int _EVENT_MSG_NEW_MESSAGE_ARRIVED
New message arrived. The Message contents are requested/delivered with this event.

See Also:
Constant Field Values

EVENT_MSG_NEW_MESSAGE_ARRIVED

public static final MessagingEventName EVENT_MSG_NEW_MESSAGE_ARRIVED
New message arrived. The Message contents are requested/delivered with this event.


_EVENT_MSG_STATUS_REPORT_ARRIVED

public static final int _EVENT_MSG_STATUS_REPORT_ARRIVED
New message status report arrived as a result of using the sending with notification functionality. The status contents are requested/delivered with this event.

See Also:
Constant Field Values

EVENT_MSG_STATUS_REPORT_ARRIVED

public static final MessagingEventName EVENT_MSG_STATUS_REPORT_ARRIVED
New message status report arrived as a result of using the sending with notification functionality. The status contents are requested/delivered with this event.

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 MessagingEventName object

getObject

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

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.