microsoft.exchange.webservices.data
Class PhoneNumberEntry

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.DictionaryEntryProperty<PhoneNumberKey>
          extended by microsoft.exchange.webservices.data.PhoneNumberEntry

public final class PhoneNumberEntry
extends DictionaryEntryProperty<PhoneNumberKey>

Represents an entry of a PhoneNumberDictionary.


Constructor Summary
protected PhoneNumberEntry()
          Initializes a new instance of the "PhoneNumberEntry" class.
protected PhoneNumberEntry(PhoneNumberKey key, java.lang.String phoneNumber)
          Initializes a new instance of the class.
 
Method Summary
 java.lang.String getPhoneNumber()
          Gets the phone number of the entry.
protected  void readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Reads the text value from XML.
 void setPhoneNumber(java.lang.Object value)
          Sets the phone number of the entry.
protected  void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes elements to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.DictionaryEntryProperty
getKey, readAttributesFromXml, setKey, writeAttributesToXml, writeDeleteUpdateToXml, writeSetUpdateToXml
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneNumberEntry

protected PhoneNumberEntry()
Initializes a new instance of the "PhoneNumberEntry" class.


PhoneNumberEntry

protected PhoneNumberEntry(PhoneNumberKey key,
                           java.lang.String phoneNumber)
Initializes a new instance of the class.

Parameters:
key - The key.
phoneNumber - The phone number.
Method Detail

readTextValueFromXml

protected void readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                             throws java.lang.Exception
Reads the text value from XML.

Overrides:
readTextValueFromXml in class ComplexProperty
Parameters:
reader - accepts EwsServiceXmlReader
Throws:
java.lang.Exception - throws Exception

writeElementsToXml

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

Overrides:
writeElementsToXml in class ComplexProperty
Parameters:
writer - The writer.
Throws:
ServiceXmlSerializationException - the service xml serialization exception

getPhoneNumber

public java.lang.String getPhoneNumber()
Gets the phone number of the entry.

Returns:
the phone number

setPhoneNumber

public void setPhoneNumber(java.lang.Object value)
Sets the phone number of the entry.

Parameters:
value - the new phone number