org.walluck.oscar.handlers.icq
Class ICQSMSMessage

java.lang.Object
  extended by org.walluck.oscar.handlers.icq.ICQSMSMessage

public class ICQSMSMessage
extends Object

ICQ allows you to send mesages to SMS phones.

Since:
1.0
Version:
1.0
Author:
David Walluck

Constructor Summary
ICQSMSMessage()
          Creates a new ICQ SMS message.
ICQSMSMessage(String s)
          Creates a new ICQ SMS message from an ICQ SMS message (XML) string.
 
Method Summary
 String getCodepage()
          Get the value of codepage.
 String getDestination()
          Get the value of destination.
 String getSendersName()
          Get the value of sendersName.
 String getSendersUIN()
          Get the value of sendersUIN.
 String getText()
          Get the value of text.
 long getTime()
          Get the value of time.
 void setCodepage(String codepage)
          Set the value of codepage.
 void setDestination(String destination)
          Set the value of destination.
 void setSendersName(String sendersName)
          Set the value of sendersName.
 void setSendersUIN(String sendersUIN)
          Set the value of sendersUIN.
 void setText(String text)
          Set the value of text.
 void setWantDeliveryReceipt(boolean wantDeliveryReceipt)
          Set the value of wantDeliveryReceipt.
 String toString()
          Return the String (XML) representation of the ICQ SMS message.
 boolean wantDeliveryReceipt()
          Get the value of wantDeliveryReceipt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICQSMSMessage

public ICQSMSMessage()
Creates a new ICQ SMS message.


ICQSMSMessage

public ICQSMSMessage(String s)
Creates a new ICQ SMS message from an ICQ SMS message (XML) string.

Parameters:
s - the ICQ SMS message (XML) string
Method Detail

getDestination

public String getDestination()
Get the value of destination.

Returns:
value of destination.

setDestination

public void setDestination(String destination)
Set the value of destination.

Parameters:
destination - Value to assign to destination.

getText

public String getText()
Get the value of text.

Returns:
value of text.

setText

public void setText(String text)
Set the value of text.

Parameters:
text - Value to assign to text.

getCodepage

public String getCodepage()
Get the value of codepage.

Returns:
value of codepage.

setCodepage

public void setCodepage(String codepage)
Set the value of codepage.

Parameters:
codepage - Value to assign to codepage.

getSendersUIN

public String getSendersUIN()
Get the value of sendersUIN.

Returns:
value of sendersUIN.

setSendersUIN

public void setSendersUIN(String sendersUIN)
Set the value of sendersUIN.

Parameters:
sendersUIN - Value to assign to sendersUIN.

getSendersName

public String getSendersName()
Get the value of sendersName.

Returns:
value of sendersName.

setSendersName

public void setSendersName(String sendersName)
Set the value of sendersName.

Parameters:
sendersName - Value to assign to sendersName.

wantDeliveryReceipt

public boolean wantDeliveryReceipt()
Get the value of wantDeliveryReceipt.

Returns:
value of wantDeliveryReceipt.

setWantDeliveryReceipt

public void setWantDeliveryReceipt(boolean wantDeliveryReceipt)
Set the value of wantDeliveryReceipt.

Parameters:
wantDeliveryReceipt - Value to assign to wantDeliveryReceipt.

getTime

public long getTime()
Get the value of time.

Returns:
value of time.

toString

public String toString()
Return the String (XML) representation of the ICQ SMS message.

Overrides:
toString in class Object
Returns:
the string