|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vodafone360.people.database.tables.ActivitiesTable.TimelineSummaryItem
public static class ActivitiesTable.TimelineSummaryItem
This class encapsulates a timeline activity item.
Nested Class Summary | |
---|---|
static class |
ActivitiesTable.TimelineSummaryItem.Type
Enum of Timeline types. |
Field Summary | |
---|---|
java.lang.String |
mContactAddress
Contact address (phone number or email address). |
java.lang.Long |
mContactId
Server contact ID. |
java.lang.String |
mContactName
Maps to the contact name in the table. |
java.lang.String |
mContactNetwork
Maps to contact network stored in the table. |
java.lang.String |
mDescription
Maps to description stored in the table. |
private boolean |
mHasAvatar
Set to true if there is an avatar URL stored in the table. |
ActivitiesTable.TimelineSummaryItem.Type |
mIncoming
Messages can be incoming and outgoing. |
private java.lang.Long |
mLocalActivityId
Maps to the local activity ID (primary key). |
java.lang.Long |
mLocalContactId
Maps to local contact id in the table. |
java.lang.Integer |
mNativeItemId
Key linking to the call-log or message-log item in the native database. |
java.lang.Integer |
mNativeItemType
Maps to native item type in the table Can be an ordinal from the ActivitiesTable#TimelineNativeTypes . |
java.lang.Integer |
mNativeThreadId
Thread ID from the native database (for messages). |
java.lang.Long |
mTimestamp
Maps to the activity timestamp in the table. |
java.lang.String |
mTitle
Maps to title stored in the table. |
ActivityItem.Type |
mType
Maps to type in the table. |
java.lang.Long |
mUserId
User ID from the server. |
Constructor Summary | |
---|---|
ActivitiesTable.TimelineSummaryItem()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
static ActivitiesTable.TimelineSummaryItem.Type |
getType(int input)
Get the Type from a given Integer value. |
java.lang.String |
toString()
Returns a string describing the timeline summary item. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.Long mLocalActivityId
public java.lang.Long mTimestamp
public java.lang.String mContactName
private boolean mHasAvatar
public ActivityItem.Type mType
public java.lang.Long mLocalContactId
public java.lang.String mContactNetwork
public java.lang.String mTitle
public java.lang.String mDescription
public java.lang.Integer mNativeItemType
ActivitiesTable#TimelineNativeTypes
.
public java.lang.Integer mNativeItemId
public java.lang.Long mContactId
public java.lang.Long mUserId
public java.lang.Integer mNativeThreadId
public java.lang.String mContactAddress
public ActivitiesTable.TimelineSummaryItem.Type mIncoming
Constructor Detail |
---|
public ActivitiesTable.TimelineSummaryItem()
Method Detail |
---|
public static ActivitiesTable.TimelineSummaryItem.Type getType(int input)
input
- Integer.ordinal value of the Type
public final java.lang.String toString()
toString
in class java.lang.Object
public final boolean equals(java.lang.Object object)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc