|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objectxp.msg.Message
com.objectxp.msg.SmsMessage
com.objectxp.msg.Cimd2Message
This class extends the class SmsMessage with CIMD2 specific properties.
Cimd2SmsService,
Serialized Form| Field Summary |
| Fields inherited from class com.objectxp.msg.SmsMessage |
CLASS_0, CLASS_1, CLASS_2, CLASS_3, DC_8BIT, DC_DEFAULT, DC_GROUP_DATA, DC_GROUP_GENERAL, DC_GROUP_MSG_WAITING_DISCARD, DC_GROUP_MSG_WAITING_STORE, DC_UCS2, INDICATION_ACTIVE, INDICATION_INACTIVE, INDICATION_TYPE_EMAIL, INDICATION_TYPE_FAX, INDICATION_TYPE_OTHER, INDICATION_TYPE_VOICEMAIL, NO_CLASS |
| Fields inherited from class com.objectxp.msg.Message |
ACK_TIME, MT_BINARY, MT_STATUS, MT_TEXT, SENDER_TYPE_ALPHA, SENDER_TYPE_GUESS, SENDER_TYPE_NUMBER |
| Constructor Summary | |
Cimd2Message()
|
|
Cimd2Message(SmsService service)
Deprecated. since jSMS 1.7, use Cimd2Message(). |
|
| Method Summary | |
java.lang.Integer |
getPriority()
Get the Priority of this message |
java.lang.Integer |
getServiceDescription()
Get the Service Description of this message |
java.lang.Integer |
getTariffClass()
Get the Tariff class for this message |
void |
setPriority(java.lang.Integer priority)
Define the priority for this message. |
void |
setServiceDescription(java.lang.Integer serviceDescription)
Defines the service description of the message, which can be used for billing. |
void |
setTariffClass(java.lang.Integer tariffClass)
Defines the tariff class of the message. |
| Methods inherited from class com.objectxp.msg.Message |
clone, getProperty, getSenderType, getTimestamp, setID, setProperty, setSenderType |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Cimd2Message()
public Cimd2Message(SmsService service)
Cimd2Message().
| Method Detail |
public java.lang.Integer getPriority()
public java.lang.Integer getServiceDescription()
public java.lang.Integer getTariffClass()
public void setPriority(java.lang.Integer priority)
throws java.lang.IllegalArgumentException
priority - The priority to set or null for no priority.
java.lang.IllegalArgumentException - if the priority is < 1 or > 9.
public void setServiceDescription(java.lang.Integer serviceDescription)
throws java.lang.IllegalArgumentException
serviceDescription - The service description to set
java.lang.IllegalArgumentException - if the service description is < 0 or > 99
public void setTariffClass(java.lang.Integer tariffClass)
throws java.lang.IllegalArgumentException
tariffClass - The tarif class to set
java.lang.IllegalArgumentException - if the tariff class is < 0 or > 99
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||