Class ContainedPropertyDefinition<TComplexProperty extends ComplexProperty>
- 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
-
- microsoft.exchange.webservices.data.property.definition.ComplexPropertyDefinition<TComplexProperty>
-
- microsoft.exchange.webservices.data.property.definition.ContainedPropertyDefinition<TComplexProperty>
-
- Type Parameters:
TComplexProperty- The type of the complex property.
public class ContainedPropertyDefinition<TComplexProperty extends ComplexProperty> extends ComplexPropertyDefinition<TComplexProperty>
Represents contained property definition.
-
-
Constructor Summary
Constructors Constructor Description ContainedPropertyDefinition(Class<TComplexProperty> cls, String xmlElementName, String uri, String containedXmlElementName, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)Initializes a new instance of.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinternalLoadFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)Load from XML.voidwritePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation)Writes to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.definition.ComplexPropertyDefinition
createPropertyInstance, getType
-
Methods inherited from class microsoft.exchange.webservices.data.property.definition.ComplexPropertyDefinitionBase
loadPropertyValueFromXml
-
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
toString, tryLoadFromXml, writeToXml
-
-
-
-
Constructor Detail
-
ContainedPropertyDefinition
public ContainedPropertyDefinition(Class<TComplexProperty> cls, String xmlElementName, String uri, String containedXmlElementName, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
Initializes a new instance of. ContainedPropertyDefinition- Parameters:
xmlElementName- Name of the XML element.uri- The URI.containedXmlElementName- Name of the contained XML element.flags- The flags.version- The version.propertyCreationDelegate- Delegate used to create instances of ComplexProperty.
-
-
Method Detail
-
internalLoadFromXml
protected void internalLoadFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
Load from XML.- Overrides:
internalLoadFromXmlin classComplexPropertyDefinitionBase- Parameters:
reader- the readerpropertyBag- the property bag- Throws:
Exception- the exception
-
writePropertyValueToXml
public void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
Writes to XML.- Overrides:
writePropertyValueToXmlin classComplexPropertyDefinitionBase- Parameters:
writer- the writerpropertyBag- the property bagisUpdateOperation- the is update operation- Throws:
Exception- the exception
-
-