microsoft.exchange.webservices.data
Class PhoneNumberDictionary

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.DictionaryProperty<PhoneNumberKey,PhoneNumberEntry>
          extended by microsoft.exchange.webservices.data.PhoneNumberDictionary

public final class PhoneNumberDictionary
extends DictionaryProperty<PhoneNumberKey,PhoneNumberEntry>

Represents a dictionary of phone numbers.


Constructor Summary
PhoneNumberDictionary()
           
 
Method Summary
protected  PhoneNumberEntry createEntryInstance()
          Creates instance of dictionary entry.
protected  java.lang.String getFieldURI()
          Gets the field URI.
 java.lang.String getPhoneNumber(PhoneNumberKey key)
          * Gets the phone number at the specified key.
 void setPhoneNumber(PhoneNumberKey key, java.lang.String value)
          Sets the phone number.
 boolean tryGetValue(PhoneNumberKey key, OutParam<java.lang.String> outparam)
          * Tries to get the phone number 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

PhoneNumberDictionary

public PhoneNumberDictionary()
Method Detail

getFieldURI

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

Overrides:
getFieldURI in class DictionaryProperty<PhoneNumberKey,PhoneNumberEntry>
Returns:
Field URI.

createEntryInstance

protected PhoneNumberEntry createEntryInstance()
Creates instance of dictionary entry.

Specified by:
createEntryInstance in class DictionaryProperty<PhoneNumberKey,PhoneNumberEntry>
Returns:
New instance.

getPhoneNumber

public java.lang.String getPhoneNumber(PhoneNumberKey key)
* Gets the phone number at the specified key.

Parameters:
key - the key
Returns:
The phone number at the specified key.

setPhoneNumber

public void setPhoneNumber(PhoneNumberKey key,
                           java.lang.String value)
Sets the phone number.

Parameters:
key - the key
value - the value

tryGetValue

public boolean tryGetValue(PhoneNumberKey key,
                           OutParam<java.lang.String> outparam)
* Tries to get the phone number associated with the specified key.

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