Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


oracle.adf.model.datacontrols.device
Class ContactName

java.lang.Object
  extended by oracle.adf.model.datacontrols.device.ContactName

All Implemented Interfaces:
PostJSONSerializable

public class ContactName
extends java.lang.Object
implements PostJSONSerializable

Object used as part of a Contact


Constructor Summary
ContactName()
          Default ContactName constructor
ContactName(java.lang.String formatted, java.lang.String familyName, java.lang.String givenName, java.lang.String middleName, java.lang.String honorificPrefix, java.lang.String honorificSuffix)
          ContactName constructor

 

Method Summary
 java.lang.String getFamilyName()
          Get the contact's family name
 java.lang.String getFormatted()
          Get the complete name of the contact
 java.lang.String getGivenName()
          Get the contact's given name
 java.lang.String getHonorificPrefix()
          Get the contact's prefix
 java.lang.String getHonorificSuffix()
          Get the contact's suffix
 java.lang.String getMiddleName()
          Get the contact's middle name
 oracle.adfmf.json.JSONObject modifyJSON(oracle.adfmf.json.JSONObject jsonObj)
          Method to normalize the JSON object.
 void setFamilyName(java.lang.String familyName)
          Set the value for family name
 void setFormatted(java.lang.String formatted)
          Set the value for formatted name
 void setGivenName(java.lang.String givenName)
          Set the value for given name
 void setHonorificPrefix(java.lang.String honorificPrefix)
          Set the value for honorific prefix of name
 void setHonorificSuffix(java.lang.String honorificSuffix)
          Set the value for honorific suffix of name
 void setMiddleName(java.lang.String middleName)
          Set the value for middle name
 java.lang.String toString()
          Method to convert ContactName object to string representation.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ContactName

public ContactName()
Default ContactName constructor

ContactName

public ContactName(java.lang.String formatted,
                   java.lang.String familyName,
                   java.lang.String givenName,
                   java.lang.String middleName,
                   java.lang.String honorificPrefix,
                   java.lang.String honorificSuffix)
ContactName constructor
Parameters:
formatted - of the contact
familyName - of the contact
givenName - of the contact
middleName - of the contact
honorificPrefix - of the contact
honorificSuffix - of the contact

Method Detail

getFormatted

public java.lang.String getFormatted()
Get the complete name of the contact
Returns:
The complete name of the contact

getFamilyName

public java.lang.String getFamilyName()
Get the contact's family name
Returns:
The contact's family name or last name

getGivenName

public java.lang.String getGivenName()
Get the contact's given name
Returns:
The contact's given name or first name

getMiddleName

public java.lang.String getMiddleName()
Get the contact's middle name
Returns:
The contact's middle name

getHonorificPrefix

public java.lang.String getHonorificPrefix()
Get the contact's prefix
Returns:
The contact's prefix (example Mr. or Dr.)

getHonorificSuffix

public java.lang.String getHonorificSuffix()
Get the contact's suffix
Returns:
The contact's suffix (example Esq.)

setFormatted

public void setFormatted(java.lang.String formatted)
Set the value for formatted name

setFamilyName

public void setFamilyName(java.lang.String familyName)
Set the value for family name

setGivenName

public void setGivenName(java.lang.String givenName)
Set the value for given name

setMiddleName

public void setMiddleName(java.lang.String middleName)
Set the value for middle name

setHonorificPrefix

public void setHonorificPrefix(java.lang.String honorificPrefix)
Set the value for honorific prefix of name

setHonorificSuffix

public void setHonorificSuffix(java.lang.String honorificSuffix)
Set the value for honorific suffix of name

toString

public java.lang.String toString()
Method to convert ContactName object to string representation.
Overrides:
toString in class java.lang.Object
Returns:
String representation of ContactName object

modifyJSON

public oracle.adfmf.json.JSONObject modifyJSON(oracle.adfmf.json.JSONObject jsonObj)
Method to normalize the JSON object. This is done so as to remain in sync with what PhoneGap sends to iOS API calls.
Specified by:
modifyJSON in interface PostJSONSerializable
Parameters:
jsonObj - JSONObject to be modified.
Returns:
modified Object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


Copyright © 2012 Oracle. All Rights Reserved.