|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.techventus.server.voice.datatypes.records.SMS
public class SMS
Represents a SMS message.
Constructor Summary | |
---|---|
SMS(Contact from,
java.lang.String content,
java.util.Date dateTime)
Creates a SMS instance. |
Method Summary | |
---|---|
int |
compareTo(SMS o)
|
java.lang.String |
getContent()
Returns the message's content. |
java.util.Date |
getDateTime()
Returns the message's timestamp. |
Contact |
getFrom()
Returns the contact that sent the message. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SMS(Contact from, java.lang.String content, java.util.Date dateTime)
from
- the contact that sent the messagethe
- message's contentdateTime
- the message's timestampMethod Detail |
---|
public Contact getFrom()
public java.lang.String getContent()
public java.util.Date getDateTime()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(SMS o)
compareTo
in interface java.lang.Comparable<SMS>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |