Class ServiceObjectPropertyDefinition
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
-
- microsoft.exchange.webservices.data.property.definition.ServiceObjectPropertyDefinition
-
- Direct Known Subclasses:
GroupMemberPropertyDefinition,IndexedPropertyDefinition,PropertyDefinition
public abstract class ServiceObjectPropertyDefinition extends PropertyDefinitionBase
Represents a property definition for a service object.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedServiceObjectPropertyDefinition()Initializes a new instance.protectedServiceObjectPropertyDefinition(String uri)Initializes a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUri()Gets the URI of the property definition.ExchangeVersiongetVersion()Gets the minimum Exchange version that supports this property.protected StringgetXmlElementName()Gets the name of the XML element.protected voidwriteAttributesToXml(EwsServiceXmlWriter writer)Writes the attribute to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
getPrintableName, getType, toString, tryLoadFromXml, writeToXml
-
-
-
-
Constructor Detail
-
ServiceObjectPropertyDefinition
protected ServiceObjectPropertyDefinition()
Initializes a new instance.
-
ServiceObjectPropertyDefinition
protected ServiceObjectPropertyDefinition(String uri)
Initializes a new instance.- Parameters:
uri- The URI.
-
-
Method Detail
-
getXmlElementName
protected String getXmlElementName()
Gets the name of the XML element.- Specified by:
getXmlElementNamein classPropertyDefinitionBase- Returns:
- the name of the XML element.
-
getVersion
public ExchangeVersion getVersion()
Gets the minimum Exchange version that supports this property.- Specified by:
getVersionin classPropertyDefinitionBase- Returns:
- The minimum Exchange version that supports this property.
-
writeAttributesToXml
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes the attribute to XML.- Specified by:
writeAttributesToXmlin classPropertyDefinitionBase- Parameters:
writer- the writer- Throws:
ServiceXmlSerializationException- the service xml serialization exception
-
-