com.vodafone360.people.database.tables
Enum ContactChangeLogTable.ContactChangeType
java.lang.Object
java.lang.Enum<ContactChangeLogTable.ContactChangeType>
com.vodafone360.people.database.tables.ContactChangeLogTable.ContactChangeType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ContactChangeLogTable.ContactChangeType>
- Enclosing class:
- ContactChangeLogTable
public static enum ContactChangeLogTable.ContactChangeType
- extends java.lang.Enum<ContactChangeLogTable.ContactChangeType>
Enumerates the type of changes supported by this table, including:
- DELETE_CONTACT: A contact has been deleted from the database and
needs to be deleted on the server. The local Contact ID, server Contact
ID fields are required
- DELETE_DETAIL: A contact detail has been deleted from the database
and needs to be deleted on the server. The local Contact ID, server
Contact ID, local Detail ID, server Detail ID (if the detail has one) and
detail key are required
- ADD_GROUP_REL: A contact has been associated with a group on the
client and needs to be synced on the server. The local Contact ID, server
Contact ID and group ID are required
- DELETE_GROUP_REL: A contact has been disassociated with a group on
the client and needs to be synced on the server. The local Contact ID,
server Contact ID and group ID are required
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DELETE_CONTACT
public static final ContactChangeLogTable.ContactChangeType DELETE_CONTACT
DELETE_DETAIL
public static final ContactChangeLogTable.ContactChangeType DELETE_DETAIL
ADD_GROUP_REL
public static final ContactChangeLogTable.ContactChangeType ADD_GROUP_REL
DELETE_GROUP_REL
public static final ContactChangeLogTable.ContactChangeType DELETE_GROUP_REL
values
public static ContactChangeLogTable.ContactChangeType[] 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 (ContactChangeLogTable.ContactChangeType c : ContactChangeLogTable.ContactChangeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ContactChangeLogTable.ContactChangeType 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
JavaDoc