microsoft.exchange.webservices.data
Class PhysicalAddressDictionary

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.DictionaryProperty<PhysicalAddressKey,PhysicalAddressEntry>
          extended by microsoft.exchange.webservices.data.PhysicalAddressDictionary

public final class PhysicalAddressDictionary
extends DictionaryProperty<PhysicalAddressKey,PhysicalAddressEntry>

Represents a dictionary of physical addresses.


Constructor Summary
PhysicalAddressDictionary()
           
 
Method Summary
protected  PhysicalAddressEntry createEntryInstance()
          Creates instance of dictionary entry.
 PhysicalAddressEntry getPhysicalAddress(PhysicalAddressKey key)
          * Gets the physical address at the specified key.
 void setPhysicalAddress(PhysicalAddressKey key, PhysicalAddressEntry value)
          Sets the physical address.
 boolean tryGetValue(PhysicalAddressKey key, OutParam<PhysicalAddressEntry> outparam)
          * Tries to get the physical address associated with the specified key.
 
Methods inherited from class microsoft.exchange.webservices.data.DictionaryProperty
clearChangeLog, complexPropertyChanged, contains, createEntry, getEntries, getEntryXmlElementName, getFieldIndex, getFieldURI, 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

PhysicalAddressDictionary

public PhysicalAddressDictionary()
Method Detail

createEntryInstance

protected PhysicalAddressEntry createEntryInstance()
Creates instance of dictionary entry.

Specified by:
createEntryInstance in class DictionaryProperty<PhysicalAddressKey,PhysicalAddressEntry>
Returns:
New instance.

getPhysicalAddress

public PhysicalAddressEntry getPhysicalAddress(PhysicalAddressKey key)
* Gets the physical address at the specified key.

Parameters:
key - the key
Returns:
The physical address at the specified key.

setPhysicalAddress

public void setPhysicalAddress(PhysicalAddressKey key,
                               PhysicalAddressEntry value)
Sets the physical address.

Parameters:
key - the key
value - the value

tryGetValue

public boolean tryGetValue(PhysicalAddressKey key,
                           OutParam<PhysicalAddressEntry> outparam)
* Tries to get the physical address associated with the specified key.

Parameters:
key - the key
outparam - the outparam
Returns:
true if the Dictionary contains a physical address associated with the specified key; otherwise, false.