org.csapi.jr.se.mmm
Class MessageTreatmentType

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

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

Specifies the various types of message treatment which the application may request when sending a message.

See Also:
Serialized Form

Field Summary
static int _MMM_TREATMENT_BILLING_ID
          A Billing Identifier/Charging Code that can be used to indicate how the costs for this transaction shall be charged.
static int _MMM_TREATMENT_DELIVERY_TIME
          Specifies whether the message shall be delivered instantly or at some specified time.
static int _MMM_TREATMENT_REPORT_REQUESTED
          Request various delivery notifications
static int _MMM_TREATMENT_UNDEFINED
          Undefined
static int _MMM_TREATMENT_VALIDITY_TIME
          Specifies the time within which the message keeps its validity.
static MessageTreatmentType MMM_TREATMENT_BILLING_ID
          A Billing Identifier/Charging Code that can be used to indicate how the costs for this transaction shall be charged.
static MessageTreatmentType MMM_TREATMENT_DELIVERY_TIME
          Specifies whether the message shall be delivered instantly or at some specified time.
static MessageTreatmentType MMM_TREATMENT_REPORT_REQUESTED
          Request various delivery notifications
static MessageTreatmentType MMM_TREATMENT_UNDEFINED
          Undefined
static MessageTreatmentType MMM_TREATMENT_VALIDITY_TIME
          Specifies the time within which the message keeps its validity.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static MessageTreatmentType getObject(int value)
          Accepts values in the range of 0 to 4
 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_TREATMENT_UNDEFINED

public static final int _MMM_TREATMENT_UNDEFINED
Undefined

See Also:
Constant Field Values

MMM_TREATMENT_UNDEFINED

public static final MessageTreatmentType MMM_TREATMENT_UNDEFINED
Undefined


_MMM_TREATMENT_REPORT_REQUESTED

public static final int _MMM_TREATMENT_REPORT_REQUESTED
Request various delivery notifications

See Also:
Constant Field Values

MMM_TREATMENT_REPORT_REQUESTED

public static final MessageTreatmentType MMM_TREATMENT_REPORT_REQUESTED
Request various delivery notifications


_MMM_TREATMENT_BILLING_ID

public static final int _MMM_TREATMENT_BILLING_ID
A Billing Identifier/Charging Code that can be used to indicate how the costs for this transaction shall be charged.

See Also:
Constant Field Values

MMM_TREATMENT_BILLING_ID

public static final MessageTreatmentType MMM_TREATMENT_BILLING_ID
A Billing Identifier/Charging Code that can be used to indicate how the costs for this transaction shall be charged.


_MMM_TREATMENT_DELIVERY_TIME

public static final int _MMM_TREATMENT_DELIVERY_TIME
Specifies whether the message shall be delivered instantly or at some specified time.

See Also:
Constant Field Values

MMM_TREATMENT_DELIVERY_TIME

public static final MessageTreatmentType MMM_TREATMENT_DELIVERY_TIME
Specifies whether the message shall be delivered instantly or at some specified time.


_MMM_TREATMENT_VALIDITY_TIME

public static final int _MMM_TREATMENT_VALIDITY_TIME
Specifies the time within which the message keeps its validity. When the message is not delivered before the validity time passes, the message is dropped by the messaging system.

See Also:
Constant Field Values

MMM_TREATMENT_VALIDITY_TIME

public static final MessageTreatmentType MMM_TREATMENT_VALIDITY_TIME
Specifies the time within which the message keeps its validity. When the message is not delivered before the validity time passes, the message is dropped by the messaging system.

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

getObject

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

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.