com.vodafone360.people.datatypes
Class Conversation
java.lang.Object
com.vodafone360.people.datatypes.BaseDataType
com.vodafone360.people.datatypes.Conversation
public class Conversation
- extends BaseDataType
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
Conversation
public Conversation()
Conversation
protected Conversation(RpgPushMessage msg)
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