com.vodafone360.people.database.tables
Class ContactDetailsTable.NativeIdInfo

java.lang.Object
  extended by com.vodafone360.people.database.tables.ContactDetailsTable.NativeIdInfo
Enclosing class:
ContactDetailsTable

public static class ContactDetailsTable.NativeIdInfo
extends java.lang.Object

Holds the Native Contact information that is stored in the database for a contact detail. Information is used when matching a contact detail from People with a detail in the Android native phonebook.


Field Summary
 long localId
          Associated with the primary key (localDetailId) in the People Contact Details table.
 java.lang.Integer nativeContactId
          Associated with the primary key (_id) in the native People table.
 java.lang.Integer nativeDetailId
          Associated with the primary key (_id) in the native Phones, ContactMethods or Organizations table (depending on contact detail).
 java.lang.String nativeVal1
          Detail type specific.
 java.lang.String nativeVal2
          Detail type specific.
 java.lang.String nativeVal3
          Detail type specific.
 long syncNativeContactId
          Can hold one of the following values: NULL Contact has just been added to the database -1 Detail in People database has been synced with the native Positive Integer Detail has been added or changed and needs to be synced to the native.
 
Constructor Summary
ContactDetailsTable.NativeIdInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localId

public long localId
Associated with the primary key (localDetailId) in the People Contact Details table.


nativeContactId

public java.lang.Integer nativeContactId
Associated with the primary key (_id) in the native People table.


nativeDetailId

public java.lang.Integer nativeDetailId
Associated with the primary key (_id) in the native Phones, ContactMethods or Organizations table (depending on contact detail). Can be null for some types of detail.


nativeVal1

public java.lang.String nativeVal1
Detail type specific. Stores value of one of the fields in a native table (Phones, ContactMethods or Organisations). Used to determine if the detail in the native table has changed. Examples: 1) In case of phone number, this value holds the phone number in the same format as the native database. 2) In case of address, this value holds the full address (all in one string). This differs from the value field which stores the address in VCard format.


nativeVal2

public java.lang.String nativeVal2
Detail type specific. Stores value of one of the fields in a native table (Phones, ContactMethods or Organisations). Used to determine if the detail in the native table has changed.


nativeVal3

public java.lang.String nativeVal3
Detail type specific. Stores value of one of the fields in a native table (Phones, ContactMethods or Organisations). Used to determine if the detail in the native table has changed.


syncNativeContactId

public long syncNativeContactId
Can hold one of the following values:

Constructor Detail

ContactDetailsTable.NativeIdInfo

public ContactDetailsTable.NativeIdInfo()


JavaDoc