com.vodafone360.people.database.tables
Enum ActivitiesTable.Field

java.lang.Object
  extended by java.lang.Enum<ActivitiesTable.Field>
      extended by com.vodafone360.people.database.tables.ActivitiesTable.Field
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ActivitiesTable.Field>
Enclosing class:
ActivitiesTable

public static enum ActivitiesTable.Field
extends java.lang.Enum<ActivitiesTable.Field>

An enumeration of all the field names in the database.


Enum Constant Summary
ACTIVITY_ID
          Activity ID.
CONTACT_ADDRESS
          Contact address.
CONTACT_AVATAR_URL
          Contact avatar URL.
CONTACT_ID
          Contact ID.
CONTACT_NAME
          Contact name or the alternative.
CONTACT_NETWORK
           
DESCRIPTION
          Contents of timelines/statuses.
FLAG
          Type of the event: status, chat messages, phone call or SMS/MMS.
HAS_CHILDREN
          Has children.
INCOMING
          For chat messages: if this message is incoming.
LATEST_CONTACT_STATUS
          Latest contact status.
LOCAL_ACTIVITY_ID
          Local timeline id.
LOCAL_CONTACT_ID
          Other contact's localContactId.
MORE_INFO
          More info.
NATIVE_ITEM_ID
          Native item ID.
NATIVE_ITEM_TYPE
          Native item type.
NATIVE_THREAD_ID
          Native thread ID.
PARENT_ACTIVITY
          Parent Activity.
PREVIEW_URL
          Preview URL.
STORE
          Store.
TIMESTAMP
          Timestamp.
TITLE
          Title for timelines .
TYPE
          Type of the event.
URI
          URI.
USER_ID
          User ID.
VISIBILITY
          Visibility.
 
Field Summary
private  java.lang.String mField
          Name of the field as it appears in the database.
 
Method Summary
 java.lang.String toString()
           
static ActivitiesTable.Field valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ActivitiesTable.Field[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOCAL_ACTIVITY_ID

public static final ActivitiesTable.Field LOCAL_ACTIVITY_ID
Local timeline id.


ACTIVITY_ID

public static final ActivitiesTable.Field ACTIVITY_ID
Activity ID.


TIMESTAMP

public static final ActivitiesTable.Field TIMESTAMP
Timestamp.


TYPE

public static final ActivitiesTable.Field TYPE
Type of the event.


URI

public static final ActivitiesTable.Field URI
URI.


TITLE

public static final ActivitiesTable.Field TITLE
Title for timelines .


DESCRIPTION

public static final ActivitiesTable.Field DESCRIPTION
Contents of timelines/statuses.


PREVIEW_URL

public static final ActivitiesTable.Field PREVIEW_URL
Preview URL.


STORE

public static final ActivitiesTable.Field STORE
Store.


FLAG

public static final ActivitiesTable.Field FLAG
Type of the event: status, chat messages, phone call or SMS/MMS.


PARENT_ACTIVITY

public static final ActivitiesTable.Field PARENT_ACTIVITY
Parent Activity.


HAS_CHILDREN

public static final ActivitiesTable.Field HAS_CHILDREN
Has children.


VISIBILITY

public static final ActivitiesTable.Field VISIBILITY
Visibility.


MORE_INFO

public static final ActivitiesTable.Field MORE_INFO
More info.


CONTACT_ID

public static final ActivitiesTable.Field CONTACT_ID
Contact ID.


USER_ID

public static final ActivitiesTable.Field USER_ID
User ID.


CONTACT_NAME

public static final ActivitiesTable.Field CONTACT_NAME
Contact name or the alternative.


LOCAL_CONTACT_ID

public static final ActivitiesTable.Field LOCAL_CONTACT_ID
Other contact's localContactId.


CONTACT_NETWORK

public static final ActivitiesTable.Field CONTACT_NETWORK
See Also:
SocialNetwork.

CONTACT_ADDRESS

public static final ActivitiesTable.Field CONTACT_ADDRESS
Contact address.


CONTACT_AVATAR_URL

public static final ActivitiesTable.Field CONTACT_AVATAR_URL
Contact avatar URL.


NATIVE_ITEM_TYPE

public static final ActivitiesTable.Field NATIVE_ITEM_TYPE
Native item type.


NATIVE_ITEM_ID

public static final ActivitiesTable.Field NATIVE_ITEM_ID
Native item ID.


LATEST_CONTACT_STATUS

public static final ActivitiesTable.Field LATEST_CONTACT_STATUS
Latest contact status.


NATIVE_THREAD_ID

public static final ActivitiesTable.Field NATIVE_THREAD_ID
Native thread ID.


INCOMING

public static final ActivitiesTable.Field INCOMING
For chat messages: if this message is incoming.

Field Detail

mField

private final java.lang.String mField
Name of the field as it appears in the database.

Method Detail

values

public static ActivitiesTable.Field[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ActivitiesTable.Field c : ActivitiesTable.Field.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ActivitiesTable.Field valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ActivitiesTable.Field>
Returns:
the name of the field as it appears in the database.


JavaDoc