org.mmbase.sms
Class BasicSMS

java.lang.Object
  extended by org.mmbase.sms.BasicSMS
All Implemented Interfaces:
Serializable, SMS

public class BasicSMS
extends Object
implements SMS

This basic SMS implementation simply explicitely stores the information in member variables.

Version:
$Id: BasicSMS.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Constructor Summary
BasicSMS(String mob, int o, String mes)
           
BasicSMS(String mob, String mes)
           
 
Method Summary
 String getMessage()
          The actual text.
 String getMobile()
          Phone number (origin or destination, depending on context).
 int getOperator()
          The operator which was used to receive or sent the message(.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicSMS

public BasicSMS(String mob,
                int o,
                String mes)

BasicSMS

public BasicSMS(String mob,
                String mes)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getMobile

public String getMobile()
Description copied from interface: SMS
Phone number (origin or destination, depending on context).

Specified by:
getMobile in interface SMS

getOperator

public int getOperator()
Description copied from interface: SMS
The operator which was used to receive or sent the message(.

Specified by:
getOperator in interface SMS

getMessage

public String getMessage()
Description copied from interface: SMS
The actual text.

Specified by:
getMessage in interface SMS


MMBase 2.0-SNAPSHOT - null