|
|||||||||
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.Identity
public class Identity
BaseDataType encapsulating an Identity issued to or retrieved from server
Nested Class Summary | |
---|---|
static class |
Identity.IdentityComparator
Comparator class used to compare Identities retrieved from server to remove duplicates from list passed to People client UI. |
private static class |
Identity.MemberData
Enumeration containing items contained within Identity Parcel. |
private static class |
Identity.Tags
Tags associated with Identity item. |
Field Summary | |
---|---|
static |
CREATOR
Interface to allow Identity to be written and restored from a Parcel. |
java.lang.Boolean |
mActive
Properties below are only present after GetMyIdentities. |
java.lang.String |
mAuthType
|
java.util.List<IdentityCapability> |
mCapabilities
|
java.util.List<java.lang.String> |
mCountryList
|
java.lang.Long |
mCreated
|
java.lang.String |
mDisplayName
|
java.net.URL |
mIcon2Url
|
java.lang.String |
mIconMime
|
java.net.URL |
mIconUrl
|
java.lang.String |
mIdentityId
|
java.lang.String |
mIdentityType
|
java.lang.String |
mName
|
java.lang.String |
mNetwork
|
java.net.URL |
mNetworkUrl
|
java.lang.Integer |
mOrder
|
java.lang.String |
mPluginId
|
java.lang.Long |
mUpdated
|
java.lang.Integer |
mUserId
|
java.lang.String |
mUserName
|
Constructor Summary | |
---|---|
|
Identity()
Default constructor. |
private |
Identity(Parcel in)
Create Identity from Parcel. |
Method Summary | |
---|---|
private boolean |
areStringValuesSame(java.lang.String s1,
java.lang.String s2)
String values comparison |
Identity |
createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
Populate Identity from supplied Hashtable. |
int |
describeContents()
|
boolean |
isSameAs(Identity id)
Test whether current Identity is identical to supplied Identity. |
java.lang.String |
name()
Return name of the current Data-type. |
private void |
readFromParcel(Parcel in)
Read Identity item from Parcel. |
private void |
setValue(Identity.Tags tag,
java.lang.Object val)
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.String mPluginId
public java.lang.String mNetwork
public java.net.URL mNetworkUrl
public java.net.URL mIconUrl
public java.net.URL mIcon2Url
public java.lang.String mAuthType
public java.lang.String mIconMime
public java.lang.Integer mOrder
public java.lang.String mName
public java.util.List<IdentityCapability> mCapabilities
public java.lang.Boolean mActive
public java.lang.Long mCreated
public java.lang.Long mUpdated
public java.lang.String mIdentityId
public java.lang.Integer mUserId
public java.lang.String mUserName
public java.lang.String mDisplayName
public java.util.List<java.lang.String> mCountryList
public java.lang.String mIdentityType
public static finalCREATOR
Constructor Detail |
---|
public Identity()
private Identity(Parcel in)
in
- Parcel containing Identity.Method Detail |
---|
public boolean isSameAs(Identity id)
id
- Identity to compare against.
private boolean areStringValuesSame(java.lang.String s1, java.lang.String s2)
s1
- First String to test.s2
- Second String to test.
public java.lang.String name()
name
in class BaseDataType
public Identity createFromHashtable(java.util.Hashtable<java.lang.String,java.lang.Object> hash)
hash
- Hashtable containing identity details.
private void setValue(Identity.Tags tag, java.lang.Object val)
tag
- Current tag.val
- Value associated with the tag.public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
private void readFromParcel(Parcel in)
in
- Parcel containing Identity information.public void writeToParcel(Parcel dest, int flags)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc