microsoft.exchange.webservices.data.property.definition
Class ComplexPropertyDefinition<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>
- Type Parameters:
TComplexProperty - The type of the complex property.
- Direct Known Subclasses:
- AttachmentsPropertyDefinition, ContainedPropertyDefinition
public class ComplexPropertyDefinition<TComplexProperty extends ComplexProperty>
- extends ComplexPropertyDefinitionBase
Represents base complex property type.
|
Constructor Summary |
ComplexPropertyDefinition(Class<TComplexProperty> cls,
String xmlElementName,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
Initializes a new instance. |
ComplexPropertyDefinition(Class<TComplexProperty> cls,
String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
Instantiates a new complex property definition. |
ComplexPropertyDefinition(Class<TComplexProperty> cls,
String xmlElementName,
String uri,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
Initializes a new instance. |
ComplexPropertyDefinition(String attachments,
String xmlElementName,
ExchangeVersion version,
EnumSet<PropertyDefinitionFlags> flags,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
Instantiates a new complex property definition. |
ComplexPropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
|
ComplexPropertyDefinition
public ComplexPropertyDefinition(Class<TComplexProperty> cls,
String xmlElementName,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
- Initializes a new instance.
- Parameters:
xmlElementName - Name of the XML element.flags - The flags.version - The version.propertyCreationDelegate - Delegate used to create instances of ComplexProperty.
ComplexPropertyDefinition
public ComplexPropertyDefinition(Class<TComplexProperty> cls,
String xmlElementName,
String uri,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
- Initializes a new instance.
- Parameters:
xmlElementName - Name of the XML element.uri - The URI.version - The version.propertyCreationDelegate - Delegate used to create instances of ComplexProperty.
ComplexPropertyDefinition
public ComplexPropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
ComplexPropertyDefinition
public ComplexPropertyDefinition(Class<TComplexProperty> cls,
String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
- Instantiates a new complex property definition.
- Parameters:
xmlElementName - the xml element nameuri - the uriflags - the flagsversion - the versionpropertyCreationDelegate - the property creation delegate
ComplexPropertyDefinition
public ComplexPropertyDefinition(String attachments,
String xmlElementName,
ExchangeVersion version,
EnumSet<PropertyDefinitionFlags> flags,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
- Instantiates a new complex property definition.
- Parameters:
xmlElementName - the xml element nameattachments - the attachmentsflags - the flagsversion - the versionpropertyCreationDelegate - the property creation delegate
createPropertyInstance
public ComplexProperty createPropertyInstance(ServiceObject owner)
- Creates the property instance.
- Specified by:
createPropertyInstance in class ComplexPropertyDefinitionBase
- Parameters:
owner - The owner.
- Returns:
- ComplexProperty instance.
getType
public Class<TComplexProperty> getType()
- Gets the property type.
- Specified by:
getType in class PropertyDefinitionBase
Copyright © 2012–2015 Microsoft. All rights reserved.