TKey - the generic typepublic abstract class DictionaryEntryProperty<TKey> extends ComplexProperty
| Modifier | Constructor and Description |
|---|---|
protected |
DictionaryEntryProperty(Class<TKey> cls)
Initializes a new instance of the "DictionaryEntryProperty<TKey>"
class.
|
protected |
DictionaryEntryProperty(Class<TKey> cls,
TKey key)
Initializes a new instance of the "DictionaryEntryProperty<TKey>"
class.
|
| Modifier and Type | Method and Description |
|---|---|
protected TKey |
getKey()
Gets the key.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads the attribute from XML.
|
protected void |
setKey(TKey value)
Sets the key.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
protected boolean |
writeDeleteUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject)
Writes the delete update to XML.
|
protected boolean |
writeSetUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject,
String ownerDictionaryXmlElementName)
Writes the set update to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeElementsToXml, writeToXml, writeToXmlprotected DictionaryEntryProperty(Class<TKey> cls)
protected DictionaryEntryProperty(Class<TKey> cls, TKey key)
key - The key.public void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml in class ComplexPropertyreader - accepts EwsServiceXmlReaderException - throws Exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - accepts EwsServiceXmlWriterServiceXmlSerializationException - throws ServiceXmlSerializationExceptionprotected boolean writeSetUpdateToXml(EwsServiceXmlWriter writer, ServiceObject ewsObject, String ownerDictionaryXmlElementName) throws XMLStreamException, ServiceXmlSerializationException
writer - the writerewsObject - the ews objectownerDictionaryXmlElementName - name of the owner dictionary XML elementXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionprotected boolean writeDeleteUpdateToXml(EwsServiceXmlWriter writer, ServiceObject ewsObject) throws XMLStreamException, ServiceXmlSerializationException
writer - the writerewsObject - the ews objectXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionCopyright © 2012–2015 Microsoft. All rights reserved.