microsoft.exchange.webservices.data
Class CompleteName

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.CompleteName

public final class CompleteName
extends ComplexProperty

Represents the complete name of a contact.


Constructor Summary
CompleteName()
           
 
Method Summary
 java.lang.String getFullName()
          Gets the full name of the contact.
 java.lang.String getGivenName()
          Gets the given name (first name) of the contact.
 java.lang.String getInitials()
          Gets the initials of the contact.
 java.lang.String getMiddleName()
          Gets the middle name of the contact.
 java.lang.String getNickname()
          Gets the nickname of the contact.
 java.lang.String getSuffix()
          Gets the suffix of the contact.
 java.lang.String getSurname()
          Gets the surname (last name) of the contact.
 java.lang.String getTitle()
          Gets the contact's title.
 java.lang.String getYomiGivenName()
          Gets the Yomi given name (first name) of the contact.
 java.lang.String getYomiSurname()
          Gets the Yomi surname (last name) of the contact.
protected  boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Tries to read element from XML.
protected  void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes the elements to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompleteName

public CompleteName()
Method Detail

getTitle

public java.lang.String getTitle()
Gets the contact's title.

Returns:
the title

getGivenName

public java.lang.String getGivenName()
Gets the given name (first name) of the contact.

Returns:
the givenName

getMiddleName

public java.lang.String getMiddleName()
Gets the middle name of the contact.

Returns:
the middleName

getSurname

public java.lang.String getSurname()
Gets the surname (last name) of the contact.

Returns:
the surname

getSuffix

public java.lang.String getSuffix()
Gets the suffix of the contact.

Returns:
the suffix

getInitials

public java.lang.String getInitials()
Gets the initials of the contact.

Returns:
the initials

getFullName

public java.lang.String getFullName()
Gets the full name of the contact.

Returns:
the fullName

getNickname

public java.lang.String getNickname()
Gets the nickname of the contact.

Returns:
the nickname

getYomiGivenName

public java.lang.String getYomiGivenName()
Gets the Yomi given name (first name) of the contact.

Returns:
the yomiGivenName

getYomiSurname

public java.lang.String getYomiSurname()
Gets the Yomi surname (last name) of the contact.

Returns:
the yomiSurname

tryReadElementFromXml

protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                                 throws java.lang.Exception
Tries to read element from XML.

Overrides:
tryReadElementFromXml in class ComplexProperty
Parameters:
reader - The reader.
Returns:
True if element was read.
Throws:
java.lang.Exception - the exception

writeElementsToXml

protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                           throws java.lang.Exception
Writes the elements to XML.

Overrides:
writeElementsToXml in class ComplexProperty
Parameters:
writer - accepts EwsServiceXmlWriter
Throws:
java.lang.Exception - throws Exception