Class CompleteName
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.CompleteName
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class CompleteName extends ComplexProperty
Represents the complete name of a contact.
-
-
Constructor Summary
Constructors Constructor Description CompleteName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFullName()Gets the full name of the contact.StringgetGivenName()Gets the given name (first name) of the contact.StringgetInitials()Gets the initials of the contact.StringgetMiddleName()Gets the middle name of the contact.StringgetNickname()Gets the nickname of the contact.StringgetSuffix()Gets the suffix of the contact.StringgetSurname()Gets the surname (last name) of the contact.StringgetTitle()Gets the contact's title.StringgetYomiGivenName()Gets the Yomi given name (first name) of the contact.StringgetYomiSurname()Gets the Yomi surname (last name) of the contact.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes the elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
CompleteName
public CompleteName()
-
-
Method Detail
-
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
-
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
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- The reader.- Returns:
- True if element was read.
- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Writes the elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- accepts EwsServiceXmlWriter- Throws:
Exception- throws Exception
-
-