microsoft.exchange.webservices.data
Class EmailAddressEntry

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.DictionaryEntryProperty<EmailAddressKey>
          extended by microsoft.exchange.webservices.data.EmailAddressEntry

public final class EmailAddressEntry
extends DictionaryEntryProperty<EmailAddressKey>

Represents an entry of an EmailAddressDictionary.


Constructor Summary
protected EmailAddressEntry()
          Initializes a new instance of the class.
protected EmailAddressEntry(EmailAddressKey key, EmailAddress emailAddress)
          Initializes a new instance of the "EmailAddressEntry" class.
 
Method Summary
 void complexPropertyChanged(ComplexProperty complexProperty)
          Complex property changed.
 EmailAddress getEmailAddress()
          Gets the e-mail address of the entry.
protected  void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Reads the attributes from XML.
protected  void readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Reads the text value from XML.
 void setEmailAddress(java.lang.Object value)
          Sets the e-mail address of the entry.
protected  void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes the attributes to XML.
protected  void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes elements to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.DictionaryEntryProperty
getKey, setKey, 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

EmailAddressEntry

protected EmailAddressEntry()
Initializes a new instance of the class.


EmailAddressEntry

protected EmailAddressEntry(EmailAddressKey key,
                            EmailAddress emailAddress)
Initializes a new instance of the "EmailAddressEntry" class.

Parameters:
key - The key.
emailAddress - The email address.
Method Detail

readAttributesFromXml

protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                              throws java.lang.Exception
Reads the attributes from XML.

Overrides:
readAttributesFromXml in class DictionaryEntryProperty<EmailAddressKey>
Parameters:
reader - accepts EwsServiceXmlReader
Throws:
java.lang.Exception - throws Exception

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 - the exception

writeAttributesToXml

protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                             throws ServiceXmlSerializationException
Writes the attributes to XML.

Overrides:
writeAttributesToXml in class DictionaryEntryProperty<EmailAddressKey>
Parameters:
writer - accepts EwsServiceXmlWriter
Throws:
ServiceXmlSerializationException - throws ServiceXmlSerializationException

writeElementsToXml

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

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

getEmailAddress

public EmailAddress getEmailAddress()
Gets the e-mail address of the entry.

Returns:
the email address

setEmailAddress

public void setEmailAddress(java.lang.Object value)
Sets the e-mail address of the entry.

Parameters:
value - the new email address

complexPropertyChanged

public void complexPropertyChanged(ComplexProperty complexProperty)
Complex property changed.

Parameters:
complexProperty - the complex property