Class PhysicalAddressDictionary
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.DictionaryProperty<PhysicalAddressKey,PhysicalAddressEntry>
-
- microsoft.exchange.webservices.data.property.complex.PhysicalAddressDictionary
-
- All Implemented Interfaces:
ICustomXmlUpdateSerializer,ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>,IComplexPropertyChangedDelegate<PhysicalAddressEntry>
public final class PhysicalAddressDictionary extends DictionaryProperty<PhysicalAddressKey,PhysicalAddressEntry>
Represents a dictionary of physical addresses.
-
-
Constructor Summary
Constructors Constructor Description PhysicalAddressDictionary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PhysicalAddressEntrycreateEntryInstance()Creates instance of dictionary entry.PhysicalAddressEntrygetPhysicalAddress(PhysicalAddressKey key)Gets the physical address at the specified key.voidsetPhysicalAddress(PhysicalAddressKey key, PhysicalAddressEntry value)Sets the physical address.booleantryGetValue(PhysicalAddressKey key, OutParam<PhysicalAddressEntry> outparam)Tries to get the physical address associated with the specified key.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.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.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml
-
-
-
-
Constructor Detail
-
PhysicalAddressDictionary
public PhysicalAddressDictionary()
-
-
Method Detail
-
createEntryInstance
protected PhysicalAddressEntry createEntryInstance()
Creates instance of dictionary entry.- Specified by:
createEntryInstancein classDictionaryProperty<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 keyvalue- 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 keyoutparam- the outparam- Returns:
- true if the Dictionary contains a physical address associated with the specified key; otherwise, false.
-
-