Class ShortMessage
- java.lang.Object
- 
- org.activecomponents.shortmessages.ShortMessage
 
- 
 public class ShortMessage extends java.lang.ObjectShort message struct.
- 
- 
Constructor SummaryConstructors Constructor Description ShortMessage()Create a new ShortMessage.ShortMessage(java.lang.String text, User sender)Create a new ShortMessage.ShortMessage(java.lang.String text, User sender, java.util.Date date)Create a new ShortMessage.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetDate()Get the date.UsergetSender()Get the sender.java.lang.StringgetText()Get the text.voidsetDate(java.util.Date date)Set the date.voidsetSender(User sender)Set the sender.voidsetText(java.lang.String text)Set the text.
 
- 
- 
- 
Field Detail- 
textprotected java.lang.String text The text.
 - 
senderprotected User sender The sender.
 - 
dateprotected java.util.Date date The publication date.
 
- 
 - 
Method Detail- 
getTextpublic java.lang.String getText() Get the text.- Returns:
- the text
 
 - 
setTextpublic void setText(java.lang.String text) Set the text.- Parameters:
- text- The text to set
 
 - 
getSenderpublic User getSender() Get the sender.- Returns:
- the sender
 
 - 
setSenderpublic void setSender(User sender) Set the sender.- Parameters:
- sender- The sender to set
 
 - 
getDatepublic java.util.Date getDate() Get the date.- Returns:
- the date
 
 - 
setDatepublic void setDate(java.util.Date date) Set the date.- Parameters:
- date- The date to set
 
 
- 
 
-