microsoft.exchange.webservices.data.property.definition
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.
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.
internalLoadFromXml
protected void internalLoadFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
throws Exception
- Load from XML.
- Overrides:
internalLoadFromXml in class ComplexPropertyDefinitionBase
- 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:
writePropertyValueToXml in class ComplexPropertyDefinitionBase
- Parameters:
writer - the writerpropertyBag - the property bagisUpdateOperation - the is update operation
- Throws:
Exception - the exception
Copyright © 2012–2015 Microsoft. All rights reserved.