com.vodafone360.people.datatypes
Class Conversation

java.lang.Object
  extended by com.vodafone360.people.datatypes.BaseDataType
      extended by com.vodafone360.people.datatypes.Conversation

public class Conversation
extends BaseDataType


Nested Class Summary
static class Conversation.Tags
           
 
Field Summary
private static java.lang.String CONVERSATION_ID
           
private  java.lang.String mConversationId
           
private  java.util.List<java.lang.String> mTos
           
private  java.lang.String mType
           
private  java.lang.Long mUserId
           
static java.lang.String NAME
           
private static java.lang.String TOS
           
 
Constructor Summary
  Conversation()
           
protected Conversation(RpgPushMessage msg)
           
 
Method Summary
 void createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
          Create ChatMessage from Hashtable generated by Hessian-decoder
 java.lang.String getConversationId()
           
 java.util.List<java.lang.String> getTos()
           
 java.lang.String getType()
           
 java.lang.Long getUserId()
           
 java.lang.String name()
          Return name of the current Data-type.
 void setConversationId(java.lang.String conversationId)
           
 void setTos(java.util.List<java.lang.String> tos)
           
 void setUserId(java.lang.Long userId)
           
private  void setValue(Conversation.Tags key, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

mConversationId

private java.lang.String mConversationId

mUserId

private java.lang.Long mUserId

mType

private java.lang.String mType

mTos

private java.util.List<java.lang.String> mTos

CONVERSATION_ID

private static final java.lang.String CONVERSATION_ID
See Also:
Constant Field Values

TOS

private static final java.lang.String TOS
See Also:
Constant Field Values
Constructor Detail

Conversation

public Conversation()

Conversation

protected Conversation(RpgPushMessage msg)
Method Detail

createFromHashtable

public void createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Create ChatMessage from Hashtable generated by Hessian-decoder

Parameters:
hash - Hashtable containing ChatMessage parameters

setValue

private void setValue(Conversation.Tags key,
                      java.lang.Object value)

name

public java.lang.String name()
Description copied from class: BaseDataType
Return name of the current Data-type.

Specified by:
name in class BaseDataType
Returns:
String containing name of the data-type.

getConversationId

public java.lang.String getConversationId()

setConversationId

public void setConversationId(java.lang.String conversationId)

getTos

public java.util.List<java.lang.String> getTos()

setTos

public void setTos(java.util.List<java.lang.String> tos)

getType

public java.lang.String getType()

getUserId

public java.lang.Long getUserId()

setUserId

public void setUserId(java.lang.Long userId)

toString

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


JavaDoc