microsoft.exchange.webservices.data
Class EmailAddressDictionary

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.DictionaryProperty<EmailAddressKey,EmailAddressEntry>
          extended by microsoft.exchange.webservices.data.EmailAddressDictionary

public final class EmailAddressDictionary
extends DictionaryProperty<EmailAddressKey,EmailAddressEntry>

Represents a dictionary of e-mail addresses.


Constructor Summary
EmailAddressDictionary()
           
 
Method Summary
protected  EmailAddressEntry createEntryInstance()
          Creates instance of dictionary entry.
 EmailAddress getEmailAddress(EmailAddressKey key)
          * Gets the e-mail address at the specified key.
protected  java.lang.String getFieldURI()
          Gets the field URI.
 void setEmailAddress(EmailAddressKey key, EmailAddress value)
          Sets the email address.
 boolean tryGetValue(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.DictionaryProperty
clearChangeLog, complexPropertyChanged, contains, createEntry, getEntries, getEntryXmlElementName, getFieldIndex, internalAdd, internalAddOrReplace, internalRemove, loadFromXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressDictionary

public EmailAddressDictionary()
Method Detail

getFieldURI

protected java.lang.String getFieldURI()
Gets the field URI.

Overrides:
getFieldURI in class DictionaryProperty<EmailAddressKey,EmailAddressEntry>
Returns:
Field URI.

createEntryInstance

protected EmailAddressEntry createEntryInstance()
Creates instance of dictionary entry.

Specified by:
createEntryInstance in class DictionaryProperty<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 key
value - 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 key
outparam - the outparam
Returns:
true if the Dictionary contains an e-mail address associated with the specified key; otherwise, false.