blueme.messenger.common
Class SMSMSG

java.lang.Object
  extended by blueme.messenger.common.SMSMSG
All Implemented Interfaces:
iSMSMSG

public class SMSMSG
extends java.lang.Object
implements iSMSMSG

Generic class for an outgoing SMS


Constructor Summary
SMSMSG()
          Oppretter objektet og definerer variabler..
 
Method Summary
 boolean getFlag()
          Get status flag.
 java.lang.String getMessage()
          Get message content.
 java.lang.String getURL()
          Get connection URL.
 void setFlag(boolean flag)
          Define status flag (false/true, unsent/sent, error/no error)
 void setMessage(java.lang.String message)
          Define message content.
 void setPort(java.lang.String port)
          Define receivers port.
 void setTo(java.lang.String to)
          Define receives phone number.
 void setURL(java.lang.String url)
          Define phone number and port as an URL.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMSMSG

public SMSMSG()
Oppretter objektet og definerer variabler.. Se iSmsMsg for info om metodene/funksjonene.

Method Detail

getMessage

public java.lang.String getMessage()
                            throws java.lang.NullPointerException
Description copied from interface: iSMSMSG
Get message content.

Specified by:
getMessage in interface iSMSMSG
Throws:
java.lang.NullPointerException

setMessage

public void setMessage(java.lang.String message)
Description copied from interface: iSMSMSG
Define message content.

Specified by:
setMessage in interface iSMSMSG

setPort

public void setPort(java.lang.String port)
Description copied from interface: iSMSMSG
Define receivers port.

Specified by:
setPort in interface iSMSMSG

setTo

public void setTo(java.lang.String to)
Description copied from interface: iSMSMSG
Define receives phone number.

Specified by:
setTo in interface iSMSMSG

getFlag

public boolean getFlag()
Description copied from interface: iSMSMSG
Get status flag.

Specified by:
getFlag in interface iSMSMSG

setFlag

public void setFlag(boolean flag)
Description copied from interface: iSMSMSG
Define status flag (false/true, unsent/sent, error/no error)

Specified by:
setFlag in interface iSMSMSG

getURL

public java.lang.String getURL()
                        throws java.lang.NullPointerException
Description copied from interface: iSMSMSG
Get connection URL.

Specified by:
getURL in interface iSMSMSG
Throws:
java.lang.NullPointerException

setURL

public void setURL(java.lang.String url)
Description copied from interface: iSMSMSG
Define phone number and port as an URL.

Specified by:
setURL in interface iSMSMSG