Class ComplexPropertyDefinitionBase
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
-
- microsoft.exchange.webservices.data.property.definition.ServiceObjectPropertyDefinition
-
- microsoft.exchange.webservices.data.property.definition.PropertyDefinition
-
- microsoft.exchange.webservices.data.property.definition.ComplexPropertyDefinitionBase
-
- Direct Known Subclasses:
ComplexPropertyDefinition,PermissionSetPropertyDefinition
public abstract class ComplexPropertyDefinitionBase extends PropertyDefinition
Represents abstract complex property definition.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedComplexPropertyDefinitionBase(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)Initializes a new instance.protectedComplexPropertyDefinitionBase(String xmlElementName, String uri, ExchangeVersion version)Initializes a new instance.protectedComplexPropertyDefinitionBase(String xmlElementName, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)Initializes a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ComplexPropertycreatePropertyInstance(ServiceObject owner)Creates the property instance.protected voidinternalLoadFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)Internals the load from XML.voidloadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)Loads from XML.voidwritePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation)Writes to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinition
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, isNullable, registerAssociatedInternalProperties, setName
-
Methods inherited from class microsoft.exchange.webservices.data.property.definition.ServiceObjectPropertyDefinition
getUri, getXmlElementName, writeAttributesToXml
-
Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
getType, toString, tryLoadFromXml, writeToXml
-
-
-
-
Constructor Detail
-
ComplexPropertyDefinitionBase
protected ComplexPropertyDefinitionBase(String xmlElementName, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
Initializes a new instance.- Parameters:
xmlElementName- Name of the XML element.flags- The flags.version- The version.
-
ComplexPropertyDefinitionBase
protected ComplexPropertyDefinitionBase(String xmlElementName, String uri, ExchangeVersion version)
Initializes a new instance.- Parameters:
xmlElementName- Name of the XML element.uri- The URI.version- The version.
-
ComplexPropertyDefinitionBase
protected ComplexPropertyDefinitionBase(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
Initializes a new instance.- Parameters:
xmlElementName- Name of the XML element.uri- The URI.flags- The flags.version- The version.
-
-
Method Detail
-
createPropertyInstance
public abstract ComplexProperty createPropertyInstance(ServiceObject owner)
Creates the property instance.- Parameters:
owner- The owner.- Returns:
- ComplexProperty.
-
internalLoadFromXml
protected void internalLoadFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
Internals the load from XML.- Parameters:
reader- The reader.propertyBag- The property bag.- Throws:
Exception- the exception
-
loadPropertyValueFromXml
public void loadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
Loads from XML.- Specified by:
loadPropertyValueFromXmlin classPropertyDefinition- Parameters:
reader- The reader.propertyBag- The property bag.- Throws:
Exception- the exception
-
writePropertyValueToXml
public void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
Writes to XML.- Specified by:
writePropertyValueToXmlin classPropertyDefinition- Parameters:
writer- The writer.propertyBag- The property bag.isUpdateOperation- Indicates whether the context is an update operation.- Throws:
Exception- the exception
-
-