TComplexProperty
- The type of the complex property.public class ComplexPropertyDefinition<TComplexProperty extends ComplexProperty> extends ComplexPropertyDefinitionBase
Modifier and Type | Method and Description |
---|---|
ComplexProperty |
createPropertyInstance(ServiceObject owner)
Creates the property instance.
|
Class<TComplexProperty> |
getType()
Gets the property type.
|
internalLoadFromXml, loadPropertyValueFromXml, writePropertyValueToXml
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, isNullable, registerAssociatedInternalProperties, setName
getUri, getXmlElementName, writeAttributesToXml
toString, tryLoadFromXml, writeToXml
public ComplexPropertyDefinition(Class<TComplexProperty> cls, String xmlElementName, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
xmlElementName
- Name of the XML element.flags
- The flags.version
- The version.propertyCreationDelegate
- Delegate used to create instances of ComplexProperty.public ComplexPropertyDefinition(Class<TComplexProperty> cls, String xmlElementName, String uri, ExchangeVersion version, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
xmlElementName
- Name of the XML element.uri
- The URI.version
- The version.propertyCreationDelegate
- Delegate used to create instances of ComplexProperty.public ComplexPropertyDefinition(String xmlElementName, String uri, ExchangeVersion version, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
public ComplexPropertyDefinition(Class<TComplexProperty> cls, String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
xmlElementName
- the xml element nameuri
- the uriflags
- the flagsversion
- the versionpropertyCreationDelegate
- the property creation delegatepublic ComplexPropertyDefinition(String attachments, String xmlElementName, ExchangeVersion version, EnumSet<PropertyDefinitionFlags> flags, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
xmlElementName
- the xml element nameattachments
- the attachmentsflags
- the flagsversion
- the versionpropertyCreationDelegate
- the property creation delegatepublic ComplexProperty createPropertyInstance(ServiceObject owner)
createPropertyInstance
in class ComplexPropertyDefinitionBase
owner
- The owner.public Class<TComplexProperty> getType()
getType
in class PropertyDefinitionBase
Copyright © 2012–2015 Microsoft. All rights reserved.