|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vodafone360.people.datatypes.BaseDataType com.vodafone360.people.datatypes.UserProfile
public class UserProfile
BaseDataType encapsulating user profile information retrieved from People server.
Nested Class Summary | |
---|---|
private static class |
UserProfile.MemberData
Enumeration of items written to UserProfile Parcel. |
private static class |
UserProfile.Tags
Tags for fields associated with UserProfile items. |
Field Summary | |
---|---|
java.lang.String |
aboutMe
|
java.lang.Long |
contactID
|
java.util.List<ContactDetail> |
details
|
private java.util.List<java.lang.Long> |
fofList
|
protected java.lang.Boolean |
friendOfMine
|
java.lang.Integer |
gender
|
private java.lang.Boolean |
isMe
|
java.lang.String |
profilePath
|
java.util.List<java.lang.String> |
sources
|
java.lang.Long |
updated
|
java.lang.Long |
userID
|
Constructor Summary | |
---|---|
UserProfile()
|
Method Summary | |
---|---|
static UserProfile |
createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Create UserProfile from Hashtable. |
int |
describeContents()
|
private UserProfile.Tags |
findTag(java.lang.String tag)
Find Tags item for specified String. |
java.lang.String |
name()
Return name of the current Data-type. |
private void |
setValue(UserProfile.Tags tag,
java.lang.Object value)
Sets the value of the member data item associated with the specified tag. |
java.lang.String |
toString()
|
void |
writeToParcel(Parcel dest,
int flags)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.Long userID
public java.lang.String profilePath
public java.lang.Long contactID
public java.util.List<java.lang.String> sources
public java.lang.Integer gender
public final java.util.List<ContactDetail> details
private java.lang.Boolean isMe
private java.util.List<java.lang.Long> fofList
public java.lang.String aboutMe
protected java.lang.Boolean friendOfMine
public java.lang.Long updated
Constructor Detail |
---|
public UserProfile()
Method Detail |
---|
private UserProfile.Tags findTag(java.lang.String tag)
tag
- String value to search for in Tag
public java.lang.String name()
name
in class BaseDataType
public java.lang.String toString()
toString
in class java.lang.Object
public static UserProfile createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
hash
- Hashtable containing User Profile information.
private void setValue(UserProfile.Tags tag, java.lang.Object value)
tag
- Current tagvalue
- Value associated with the tagpublic int describeContents()
public void writeToParcel(Parcel dest, int flags)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc