microsoft.exchange.webservices.data
Class ImAddressDictionary

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.DictionaryProperty<ImAddressKey,ImAddressEntry>
          extended by microsoft.exchange.webservices.data.ImAddressDictionary

public final class ImAddressDictionary
extends DictionaryProperty<ImAddressKey,ImAddressEntry>

Represents a dictionary of Instant Messaging addresses.


Constructor Summary
ImAddressDictionary()
           
 
Method Summary
protected  ImAddressEntry createEntryInstance()
          Creates instance of dictionary entry.
protected  java.lang.String getFieldURI()
          Gets the field URI.
 java.lang.String getImAddressKey(ImAddressKey key)
          * Gets the Instant Messaging address at the specified key.
 void setImAddressKey(ImAddressKey key, java.lang.String value)
          Sets the im address key.
 boolean tryGetValue(ImAddressKey key, OutParam<java.lang.String> outParam)
          * Tries to get the IM 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

ImAddressDictionary

public ImAddressDictionary()
Method Detail

getFieldURI

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

Overrides:
getFieldURI in class DictionaryProperty<ImAddressKey,ImAddressEntry>
Returns:
Field URI.

createEntryInstance

protected ImAddressEntry createEntryInstance()
Creates instance of dictionary entry.

Specified by:
createEntryInstance in class DictionaryProperty<ImAddressKey,ImAddressEntry>
Returns:
New instance.

getImAddressKey

public java.lang.String getImAddressKey(ImAddressKey key)
* Gets the Instant Messaging address at the specified key.

Parameters:
key - the key
Returns:
The Instant Messaging address at the specified key.

setImAddressKey

public void setImAddressKey(ImAddressKey key,
                            java.lang.String value)
Sets the im address key.

Parameters:
key - the key
value - the value

tryGetValue

public boolean tryGetValue(ImAddressKey key,
                           OutParam<java.lang.String> outParam)
* Tries to get the IM address associated with the specified key.

Parameters:
key - the key
outParam - the out param
Returns:
true if the Dictionary contains an IM address associated with the specified key; otherwise, false.