Class PhoneNumberEntry
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.DictionaryEntryProperty<PhoneNumberKey>
-
- microsoft.exchange.webservices.data.property.complex.PhoneNumberEntry
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class PhoneNumberEntry extends DictionaryEntryProperty<PhoneNumberKey>
Represents an entry of a PhoneNumberDictionary.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPhoneNumberEntry()Initializes a new instance of thePhoneNumberEntryclass.protectedPhoneNumberEntry(PhoneNumberKey key, String phoneNumber)Initializes a new instance of thePhoneNumberEntryclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPhoneNumber()Gets the phone number of the entry.voidreadTextValueFromXml(EwsServiceXmlReader reader)Reads the text value from XML.voidsetPhoneNumber(Object value)Sets the phone number of the entry.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.DictionaryEntryProperty
getKey, readAttributesFromXml, setKey, writeAttributesToXml, writeDeleteUpdateToXml, writeSetUpdateToXml
-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
PhoneNumberEntry
protected PhoneNumberEntry()
Initializes a new instance of thePhoneNumberEntryclass.
-
PhoneNumberEntry
protected PhoneNumberEntry(PhoneNumberKey key, String phoneNumber)
Initializes a new instance of thePhoneNumberEntryclass.- Parameters:
key- The key.phoneNumber- The phone number.
-
-
Method Detail
-
readTextValueFromXml
public void readTextValueFromXml(EwsServiceXmlReader reader) throws Exception
Reads the text value from XML.- Overrides:
readTextValueFromXmlin classComplexProperty- Parameters:
reader- accepts EwsServiceXmlReader- Throws:
Exception- throws Exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- The writer.- Throws:
ServiceXmlSerializationException- the service xml serialization exception
-
getPhoneNumber
public String getPhoneNumber()
Gets the phone number of the entry.- Returns:
- the phone number
-
setPhoneNumber
public void setPhoneNumber(Object value)
Sets the phone number of the entry.- Parameters:
value- the new phone number
-
-