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

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

private static enum ConversationsTable.Field
extends java.lang.Enum<ConversationsTable.Field>

An enumeration of all the field names in the database, containing ID, LOCAL_CONTACT_ID, USER_ID, NETWORK_ID, NETWORK_STATUS.


Enum Constant Summary
CONVERSATION_ID
          the conversation unique id
ID
          The primary key.
LATEST_MESSAGE
          the last time a message on this conversation was sent/received
LOCALCONTACT_ID
          the other party of the conversation unique id, localContactId
NETWORK_ID
           
USER_ID
          the other party of the conversation web id: IM address, 360 userId
 
Field Summary
private  java.lang.String mField
          The name of the field as it appears in the database.
 
Method Summary
 java.lang.String toString()
           
static ConversationsTable.Field valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConversationsTable.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

ID

public static final ConversationsTable.Field ID
The primary key.


CONVERSATION_ID

public static final ConversationsTable.Field CONVERSATION_ID
the conversation unique id


LOCALCONTACT_ID

public static final ConversationsTable.Field LOCALCONTACT_ID
the other party of the conversation unique id, localContactId


USER_ID

public static final ConversationsTable.Field USER_ID
the other party of the conversation web id: IM address, 360 userId


NETWORK_ID

public static final ConversationsTable.Field NETWORK_ID
See Also:
NetworkPresence.SocialNetwork

LATEST_MESSAGE

public static final ConversationsTable.Field LATEST_MESSAGE
the last time a message on this conversation was sent/received

Field Detail

mField

private java.lang.String mField
The name of the field as it appears in the database.

Method Detail

values

public static ConversationsTable.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 (ConversationsTable.Field c : ConversationsTable.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 ConversationsTable.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<ConversationsTable.Field>


JavaDoc