public abstract class ComplexPropertyDefinitionBase extends PropertyDefinition
| Modifier | Constructor and Description |
|---|---|
protected |
ComplexPropertyDefinitionBase(String xmlElementName,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance.
|
protected |
ComplexPropertyDefinitionBase(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance.
|
protected |
ComplexPropertyDefinitionBase(String xmlElementName,
String uri,
ExchangeVersion version)
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ComplexProperty |
createPropertyInstance(ServiceObject owner)
Creates the property instance.
|
protected void |
internalLoadFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
Internals the load from XML.
|
void |
loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
Loads from XML.
|
void |
writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
Writes to XML.
|
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, isNullable, registerAssociatedInternalProperties, setNamegetUri, getXmlElementName, writeAttributesToXmlgetType, toString, tryLoadFromXml, writeToXmlprotected ComplexPropertyDefinitionBase(String xmlElementName, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
xmlElementName - Name of the XML element.flags - The flags.version - The version.protected ComplexPropertyDefinitionBase(String xmlElementName, String uri, ExchangeVersion version)
xmlElementName - Name of the XML element.uri - The URI.version - The version.protected ComplexPropertyDefinitionBase(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
xmlElementName - Name of the XML element.uri - The URI.flags - The flags.version - The version.public abstract ComplexProperty createPropertyInstance(ServiceObject owner)
owner - The owner.protected void internalLoadFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
reader - The reader.propertyBag - The property bag.Exception - the exceptionpublic void loadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
loadPropertyValueFromXml in class PropertyDefinitionreader - The reader.propertyBag - The property bag.Exception - the exceptionpublic void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
writePropertyValueToXml in class PropertyDefinitionwriter - The writer.propertyBag - The property bag.isUpdateOperation - Indicates whether the context is an update operation.Exception - the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.