public final class PhoneNumberEntry extends DictionaryEntryProperty<PhoneNumberKey>
Modifier | Constructor and Description |
---|---|
protected |
PhoneNumberEntry()
Initializes a new instance of the "PhoneNumberEntry" class.
|
protected |
PhoneNumberEntry(PhoneNumberKey key,
String phoneNumber)
Initializes a new instance of the
|
Modifier and Type | Method and Description |
---|---|
String |
getPhoneNumber()
Gets the phone number of the entry.
|
void |
readTextValueFromXml(EwsServiceXmlReader reader)
Reads the text value from XML.
|
void |
setPhoneNumber(Object value)
Sets the phone number of the entry.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
getKey, readAttributesFromXml, setKey, writeAttributesToXml, writeDeleteUpdateToXml, writeSetUpdateToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
protected PhoneNumberEntry()
protected PhoneNumberEntry(PhoneNumberKey key, String phoneNumber)
key
- The key.phoneNumber
- The phone number.public void readTextValueFromXml(EwsServiceXmlReader reader) throws Exception
readTextValueFromXml
in class ComplexProperty
reader
- accepts EwsServiceXmlReaderException
- throws Exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeElementsToXml
in class ComplexProperty
writer
- The writer.ServiceXmlSerializationException
- the service xml serialization exceptionpublic String getPhoneNumber()
public void setPhoneNumber(Object value)
value
- the new phone numberCopyright © 2012–2015 Microsoft. All rights reserved.