com.joctopus.ui.joctopus
Class ChatHistory

java.lang.Object
  extended by com.joctopus.ui.joctopus.ChatHistory

public class ChatHistory
extends java.lang.Object

This bean stores entire chat history of the user identified by user object.

Since:
1.0

Field Summary
static java.lang.String LINE_SEPARATOR
          Separator for each Chat conversation.
 
Constructor Summary
ChatHistory()
          Default Constructor for persistance.
 
Method Summary
 void addChatData(ChatData cdata)
          adds chat data to chatbulk
 java.util.Vector getChatBulk()
          Get the value of chatBulk
 Users getUser()
          Get the value of user
 void setChatBulk(java.util.Vector chatBulk)
          Set the value of chatBulk
 void setUser(Users user)
          Set the value of user
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LINE_SEPARATOR

public static final java.lang.String LINE_SEPARATOR
Separator for each Chat conversation.

See Also:
Constant Field Values
Constructor Detail

ChatHistory

public ChatHistory()
Default Constructor for persistance.

Method Detail

getUser

public Users getUser()
Get the value of user

Returns:
the value of user

setUser

public void setUser(Users user)
Set the value of user

Parameters:
user - new value of user

getChatBulk

public java.util.Vector getChatBulk()
Get the value of chatBulk

Returns:
the value of chatBulk

setChatBulk

public void setChatBulk(java.util.Vector chatBulk)
Set the value of chatBulk

Parameters:
chatBulk - new value of chatBulk

addChatData

public void addChatData(ChatData cdata)
adds chat data to chatbulk

Parameters:
cdata -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object