Class ImAddressDictionary
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.DictionaryProperty<ImAddressKey,ImAddressEntry>
-
- microsoft.exchange.webservices.data.property.complex.ImAddressDictionary
-
- All Implemented Interfaces:
ICustomXmlUpdateSerializer,ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>,IComplexPropertyChangedDelegate<ImAddressEntry>
public final class ImAddressDictionary extends DictionaryProperty<ImAddressKey,ImAddressEntry>
Represents a dictionary of Instant Messaging addresses.
-
-
Constructor Summary
Constructors Constructor Description ImAddressDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImAddressEntrycreateEntryInstance()Creates instance of dictionary entry.protected StringgetFieldURI()Gets the field URI.StringgetImAddressKey(ImAddressKey key)Gets the Instant Messaging address at the specified key.voidsetImAddressKey(ImAddressKey key, String value)Sets the im address key.booleantryGetValue(ImAddressKey key, OutParam<String> outParam)Tries to get the IM 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
-
ImAddressDictionary
public ImAddressDictionary()
-
-
Method Detail
-
getFieldURI
protected String getFieldURI()
Gets the field URI.- Overrides:
getFieldURIin classDictionaryProperty<ImAddressKey,ImAddressEntry>- Returns:
- Field URI.
-
createEntryInstance
protected ImAddressEntry createEntryInstance()
Creates instance of dictionary entry.- Specified by:
createEntryInstancein classDictionaryProperty<ImAddressKey,ImAddressEntry>- Returns:
- New instance.
-
getImAddressKey
public 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, String value)
Sets the im address key.- Parameters:
key- the keyvalue- the value
-
tryGetValue
public boolean tryGetValue(ImAddressKey key, OutParam<String> outParam)
Tries to get the IM address associated with the specified key.- Parameters:
key- the keyoutParam- the out param- Returns:
- true if the Dictionary contains an IM address associated with the specified key; otherwise, false.
-
-