public class Contact extends Object implements JSONSerializable
| Constructor and Description | 
|---|
| Contact()Default Contact constructor | 
| Contact(int id,
       int rawId,
       String displayName,
       ContactName name,
       String nickname,
       ContactField[] phoneNumbers,
       ContactField[] emails,
       ContactAddresses[] addresses,
       ContactField[] ims,
       ContactOrganization[] organizations,
       java.util.Date birthday,
       String note,
       ContactField[] photos,
       ContactField[] categories,
       ContactField[] urls)Contact constructor | 
| Contact(oracle.adfmf.framework.contract.adf.JSONContact jsonContact)Contact constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| ContactAddresses[] | getAddresses()Get contact addresses | 
| java.util.Date | getBirthday()Get contact birthday | 
| ContactField[] | getCategories()Get contact categories | 
| String | getDisplayName()Get contact display name | 
| ContactField[] | getEmails()Get contact emails | 
| int | getId()Get contact id | 
| ContactField[] | getIms()Get contact IM addresses | 
| ContactName | getName()Get contact name | 
| String | getNickname()Get contact nickname | 
| String | getNote()Get contact note | 
| ContactOrganization[] | getOrganizations()Get contact organizations | 
| ContactField[] | getPhoneNumbers()Get contact phone numbers | 
| ContactField[] | getPhotos()Get contact photos | 
| ContactField[] | getUrls()Get contact URL's | 
| void | setAddresses(ContactAddresses[] addresses)Set the value for contact addresses | 
| void | setBirthday(java.util.Date birthday)Set the value for contact birthday | 
| void | setCategories(ContactField[] categories)Set the value for contact categories | 
| void | setDisplayName(String displayName)Set the value for contact display name | 
| void | setEmails(ContactField[] emails)Set the value for contact emails | 
| void | setIms(ContactField[] ims)Set the value for contact ims | 
| void | setName(ContactName name)Set the value for contact name | 
| void | setNickname(String nickname)Set the value for contact nick name | 
| void | setNote(String note)Set the value for contact note | 
| void | setOrganizations(ContactOrganization[] organizations)Set the value for contact organizations | 
| void | setPhoneNumbers(ContactField[] phoneNumbers)Set the value for contact phone numbers | 
| void | setPhotos(ContactField[] photos)Set the value for contact photos | 
| void | setUrls(ContactField[] urls)Set the value for contact urls | 
| Object | toJSON()Method to convert Contact object to JSON representation. | 
| String | toString()Method to convert Contact object to string representation. | 
public Contact(oracle.adfmf.framework.contract.adf.JSONContact jsonContact)
jsonContact - JSONContact object to be used to create Contact objectpublic Contact()
public Contact(int id,
               int rawId,
               String displayName,
               ContactName name,
               String nickname,
               ContactField[] phoneNumbers,
               ContactField[] emails,
               ContactAddresses[] addresses,
               ContactField[] ims,
               ContactOrganization[] organizations,
               java.util.Date birthday,
               String note,
               ContactField[] photos,
               ContactField[] categories,
               ContactField[] urls)
id - for the contactrawId - for the contactdisplayName - for the contactname - for the contactnickname - for the contactphoneNumbers - for the contactemails - for the contactaddresses - for the contactims - for the contactorganizations - for the contactbirthday - for the contactnote - for the contactphotos - for the contactcategories - for the contacturls - for the contactpublic int getId()
public String getDisplayName()
public ContactName getName()
public String getNickname()
public ContactField[] getPhoneNumbers()
public ContactField[] getEmails()
public ContactAddresses[] getAddresses()
public ContactField[] getIms()
public ContactOrganization[] getOrganizations()
public java.util.Date getBirthday()
public String getNote()
public ContactField[] getPhotos()
public ContactField[] getCategories()
public ContactField[] getUrls()
public void setDisplayName(String displayName)
public void setName(ContactName name)
public void setNickname(String nickname)
public void setPhoneNumbers(ContactField[] phoneNumbers)
public void setEmails(ContactField[] emails)
public void setAddresses(ContactAddresses[] addresses)
public void setIms(ContactField[] ims)
public void setOrganizations(ContactOrganization[] organizations)
public void setBirthday(java.util.Date birthday)
public void setNote(String note)
public void setPhotos(ContactField[] photos)
public void setCategories(ContactField[] categories)
public void setUrls(ContactField[] urls)
public String toString()
toString in class Objectpublic Object toJSON()
              throws Exception
toJSON in interface JSONSerializableException