|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.messaging.common.ems.EMSMessage
This class can be used to create EMS (Enhanced Messaging Service) Message that can be set as content of the Message object and can then be sent out as binary SMS. EMS message contains a text content and a list of service objects.
EMSService
, Serialized FormField Summary | |
static java.lang.String |
MIME MIME type for EMS Message object. |
Constructor Summary | |
EMSMessage() Constructor. |
Method Summary | |
void |
addService(EMSService obj) Adds the given service object to the list of services. |
boolean |
equals(java.lang.Object other) Checks for equality of two EMSMessage objects. |
EMSService[] |
getServices() Gets the list of services for this object. |
java.lang.String |
getText() Get the message text. |
int |
hashCode() Generates and returns hash code for this object. |
void |
removeAllServices() Removes all the services from this EMSMessage object. |
void |
removeService(EMSService obj) removes the given service from the list of services. |
void |
setText(java.lang.String text) Sets the text for the message object. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MIME
Constructor Detail |
public EMSMessage()
Method Detail |
public void addService(EMSService obj)
obj
- the service object to add.public boolean equals(java.lang.Object other)
other
- the object to be tested for equality with this object.public EMSService[] getServices()
public java.lang.String getText()
public int hashCode()
public void removeAllServices()
public void removeService(EMSService obj)
obj
- service to remove.public void setText(java.lang.String text)
text
- the text to be set.
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |