|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vodafone360.people.datatypes.BaseDataType
com.vodafone360.people.datatypes.ActivityContact
public class ActivityContact
BaseDataType encapsulating an Activity Contact which contains contact information associated with an Activity response retrieved from the server.
| Nested Class Summary | |
|---|---|
private static class |
ActivityContact.Tags
Tags for fields associated with Activity Contacts. |
| Field Summary | |
|---|---|
java.lang.String |
mAddress
Optional for non-messages. |
private java.nio.ByteBuffer |
mAvatar
Defines the binary data for the user's icon. |
private java.lang.String |
mAvatarMime
Defines the MIME type of the avatar binary data. |
java.lang.String |
mAvatarUrl
Defines an http url that the client can use to retrieve the avatar binary data. |
java.lang.Long |
mContactId
The contact server id if the activity can be related to a contact. |
java.lang.Long |
mLocalContactId
Local id for a Contact if activity can be related to a Contact. |
java.lang.String |
mName
Contains the name of the other user. |
java.lang.String |
mNetwork
This field contains information about the network (e.g. phone, flickr, google). |
private ContactDetail.DetailKeyTypes |
mType
Optional for non-messages. |
java.lang.Long |
mUserId
The user id if the activity can be related to a user, e.g. a message from a VF user but non-contact contains userid but not contactid, whereas a message from a contact that is also a VF user contains both contactid and userid. |
| Constructor Summary | |
|---|---|
ActivityContact()
|
|
| Method Summary | |
|---|---|
static ActivityContact |
createFromHashTable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Create ActivityContact from Hashtable (generated from Hessian encoded response). |
java.lang.String |
name()
Return name of the current Data-type. |
private void |
setValue(ActivityContact.Tags tag,
java.lang.Object val)
Sets the value of the member data item associated with the specified tag. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Long mContactId
public java.lang.Long mLocalContactId
public java.lang.Long mUserId
public java.lang.String mName
public java.lang.String mAddress
private ContactDetail.DetailKeyTypes mType
public java.lang.String mNetwork
private java.nio.ByteBuffer mAvatar
private java.lang.String mAvatarMime
public java.lang.String mAvatarUrl
| Constructor Detail |
|---|
public ActivityContact()
| Method Detail |
|---|
public java.lang.String name()
name in class BaseDataTypepublic static ActivityContact createFromHashTable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
hash - Hashtable containing ActivityContact data
private void setValue(ActivityContact.Tags tag,
java.lang.Object val)
tag - Current tagval - Value associated with the tagpublic java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
JavaDoc