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

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

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

An enumeration of all the field names in the database.


Enum Constant Summary
ABOUTME
           
FRIEND
           
GENDER
           
LOCALID
           
NATIVECONTACTID
           
SERVERID
           
SYNCTOPHONE
           
UPDATED
           
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 ContactsTable.Field valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContactsTable.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

LOCALID

public static final ContactsTable.Field LOCALID

SERVERID

public static final ContactsTable.Field SERVERID

USERID

public static final ContactsTable.Field USERID

ABOUTME

public static final ContactsTable.Field ABOUTME

FRIEND

public static final ContactsTable.Field FRIEND

GENDER

public static final ContactsTable.Field GENDER

UPDATED

public static final ContactsTable.Field UPDATED

NATIVECONTACTID

public static final ContactsTable.Field NATIVECONTACTID

SYNCTOPHONE

public static final ContactsTable.Field SYNCTOPHONE
Field Detail

mField

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

Method Detail

values

public static ContactsTable.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 (ContactsTable.Field c : ContactsTable.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 ContactsTable.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<ContactsTable.Field>
Returns:
the name of the field as it appears in the database.


JavaDoc