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
 String getFullName()
          Gets the full name of the contact.
 String getGivenName()
          Gets the given name (first name) of the contact.
 String getInitials()
          Gets the initials of the contact.
 String getMiddleName()
          Gets the middle name of the contact.
 String getNickname()
          Gets the nickname of the contact.
 String getSuffix()
          Gets the suffix of the contact.
 String getSurname()
          Gets the surname (last name) of the contact.
 String getTitle()
          Gets the contact's title.
 String getYomiGivenName()
          Gets the Yomi given name (first name) of the contact.
 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, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, 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 String getTitle()
Gets the contact's title.

Returns:
the title

getGivenName

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

Returns:
the givenName

getMiddleName

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

Returns:
the middleName

getSurname

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

Returns:
the surname

getSuffix

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

Returns:
the suffix

getInitials

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

Returns:
the initials

getFullName

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

Returns:
the fullName

getNickname

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

Returns:
the nickname

getYomiGivenName

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

Returns:
the yomiGivenName

getYomiSurname

public 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 Exception
Tries to read element from XML.

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

writeElementsToXml

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

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


Copyright © 2012. All Rights Reserved.