Class EmailAddressDictionary
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.DictionaryProperty<EmailAddressKey,EmailAddressEntry>
-
- microsoft.exchange.webservices.data.property.complex.EmailAddressDictionary
-
- All Implemented Interfaces:
ICustomXmlUpdateSerializer,ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>,IComplexPropertyChangedDelegate<EmailAddressEntry>
public final class EmailAddressDictionary extends DictionaryProperty<EmailAddressKey,EmailAddressEntry>
Represents a dictionary of e-mail addresses.
-
-
Constructor Summary
Constructors Constructor Description EmailAddressDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EmailAddressEntrycreateEntryInstance()Creates instance of dictionary entry.EmailAddressgetEmailAddress(EmailAddressKey key)Gets the e-mail address at the specified key.protected StringgetFieldURI()Gets the field URI.voidsetEmailAddress(EmailAddressKey key, EmailAddress value)Sets the email address.booleantryGetValue(EmailAddressKey key, OutParam<EmailAddress> outparam)Tries to get the e-mail address associated with the specified key.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.DictionaryProperty
clearChangeLog, complexPropertyChanged, contains, createEntry, getEntries, getEntryXmlElementName, getFieldIndex, internalAdd, internalAddOrReplace, internalRemove, loadFromXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml
-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml
-
-
-
-
Constructor Detail
-
EmailAddressDictionary
public EmailAddressDictionary()
-
-
Method Detail
-
getFieldURI
protected String getFieldURI()
Gets the field URI.- Overrides:
getFieldURIin classDictionaryProperty<EmailAddressKey,EmailAddressEntry>- Returns:
- Field URI.
-
createEntryInstance
protected EmailAddressEntry createEntryInstance()
Creates instance of dictionary entry.- Specified by:
createEntryInstancein classDictionaryProperty<EmailAddressKey,EmailAddressEntry>- Returns:
- New instance.
-
getEmailAddress
public EmailAddress getEmailAddress(EmailAddressKey key)
Gets the e-mail address at the specified key.- Parameters:
key- the key- Returns:
- The e-mail address at the specified key.
-
setEmailAddress
public void setEmailAddress(EmailAddressKey key, EmailAddress value)
Sets the email address.- Parameters:
key- the keyvalue- the value
-
tryGetValue
public boolean tryGetValue(EmailAddressKey key, OutParam<EmailAddress> outparam)
Tries to get the e-mail address associated with the specified key.- Parameters:
key- the keyoutparam- the outparam- Returns:
- true if the Dictionary contains an e-mail address associated with the specified key; otherwise, false.
-
-