com.joctopus.ui.joctopus
Class ChatData

java.lang.Object
  extended by com.joctopus.ui.joctopus.ChatData
All Implemented Interfaces:
java.io.Serializable

public class ChatData
extends java.lang.Object
implements java.io.Serializable

This bean encapsulates chat data(message,time), it is tied with single request only.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
ChatData()
           
 
Method Summary
 java.lang.String getMessage()
          Get the value of chat message
 java.util.Date getTime()
          Get the value of time
 boolean isMe()
          represents wheather the data in message belongs to user of the application
 void setMe(boolean me)
          Set the value of me
 void setMessage(java.lang.String message)
          Set the value of chat message
 void setTime(java.util.Date time)
          Set the value of time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatData

public ChatData()
Method Detail

getMessage

public java.lang.String getMessage()
Get the value of chat message

Returns:
the value of message

setMessage

public void setMessage(java.lang.String message)
Set the value of chat message

Parameters:
message - new value of message

isMe

public boolean isMe()
represents wheather the data in message belongs to user of the application

Returns:
the value of me

setMe

public void setMe(boolean me)
Set the value of me

Parameters:
me - new value of me

getTime

public java.util.Date getTime()
Get the value of time

Returns:
the value of time

setTime

public void setTime(java.util.Date time)
Set the value of time

Parameters:
time - new value of time