Class EmailAddressEntry
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.DictionaryEntryProperty<EmailAddressKey>
-
- microsoft.exchange.webservices.data.property.complex.EmailAddressEntry
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>,IComplexPropertyChangedDelegate
public final class EmailAddressEntry extends DictionaryEntryProperty<EmailAddressKey> implements IComplexPropertyChangedDelegate
Represents an entry of an EmailAddressDictionary.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmailAddressEntry()Initializes a new instance of theEmailAddressEntryclass.protectedEmailAddressEntry(EmailAddressKey key, EmailAddress emailAddress)Initializes a new instance of theEmailAddressEntryclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplexPropertyChanged(ComplexProperty complexProperty)Complex property changed.EmailAddressgetEmailAddress()Gets the e-mail address of the entry.voidreadAttributesFromXml(EwsServiceXmlReader reader)Reads the attribute from XML.voidreadTextValueFromXml(EwsServiceXmlReader reader)Reads the text value from XML.voidsetEmailAddress(Object value)Sets the e-mail address of the entry.voidwriteAttributesToXml(EwsServiceXmlWriter writer)Writes the attribute to XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.DictionaryEntryProperty
getKey, setKey, 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
-
EmailAddressEntry
protected EmailAddressEntry()
Initializes a new instance of theEmailAddressEntryclass.
-
EmailAddressEntry
protected EmailAddressEntry(EmailAddressKey key, EmailAddress emailAddress)
Initializes a new instance of theEmailAddressEntryclass.- Parameters:
key- The key.emailAddress- The email address.
-
-
Method Detail
-
readAttributesFromXml
public void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
Reads the attribute from XML.- Overrides:
readAttributesFromXmlin classDictionaryEntryProperty<EmailAddressKey>- Parameters:
reader- accepts EwsServiceXmlReader- Throws:
Exception- throws Exception
-
readTextValueFromXml
public void readTextValueFromXml(EwsServiceXmlReader reader) throws Exception
Reads the text value from XML.- Overrides:
readTextValueFromXmlin classComplexProperty- Parameters:
reader- accepts EwsServiceXmlReader- Throws:
Exception- the exception
-
writeAttributesToXml
public void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes the attribute to XML.- Overrides:
writeAttributesToXmlin classDictionaryEntryProperty<EmailAddressKey>- Parameters:
writer- accepts EwsServiceXmlWriter- Throws:
ServiceXmlSerializationException- throws ServiceXmlSerializationException
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- 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(Object value)
Sets the e-mail address of the entry.- Parameters:
value- the new email address
-
complexPropertyChanged
public void complexPropertyChanged(ComplexProperty complexProperty)
Description copied from interface:IComplexPropertyChangedDelegateComplex property changed.- Specified by:
complexPropertyChangedin interfaceIComplexPropertyChangedDelegate- Parameters:
complexProperty- the complex property
-
-