microsoft.exchange.webservices.data
Class ServiceObjectPropertyDefinition

java.lang.Object
  extended by microsoft.exchange.webservices.data.PropertyDefinitionBase
      extended by microsoft.exchange.webservices.data.ServiceObjectPropertyDefinition
Direct Known Subclasses:
IndexedPropertyDefinition, PropertyDefinition

public abstract class ServiceObjectPropertyDefinition
extends PropertyDefinitionBase

Represents a property definition for a service object.


Constructor Summary
protected ServiceObjectPropertyDefinition()
          Initializes a new instance.
protected ServiceObjectPropertyDefinition(java.lang.String uri)
          Initializes a new instance.
 
Method Summary
protected  java.lang.String getUri()
          Gets the URI of the property definition.
 ExchangeVersion getVersion()
          Gets the minimum Exchange version that supports this property.
protected  java.lang.String getXmlElementName()
          Gets the name of the XML element.
protected  void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          * Writes the attributes to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.PropertyDefinitionBase
getPrintableName, getType, toString, tryLoadFromXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceObjectPropertyDefinition

protected ServiceObjectPropertyDefinition()
Initializes a new instance.


ServiceObjectPropertyDefinition

protected ServiceObjectPropertyDefinition(java.lang.String uri)
Initializes a new instance.

Parameters:
uri - The URI.
Method Detail

getXmlElementName

protected java.lang.String getXmlElementName()
Gets the name of the XML element.

Specified by:
getXmlElementName in class PropertyDefinitionBase
Returns:
the name of the XML element.

getVersion

public ExchangeVersion getVersion()
Gets the minimum Exchange version that supports this property.

Specified by:
getVersion in class PropertyDefinitionBase
Returns:
The minimum Exchange version that supports this property.

writeAttributesToXml

protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                             throws ServiceXmlSerializationException
* Writes the attributes to XML.

Specified by:
writeAttributesToXml in class PropertyDefinitionBase
Parameters:
writer - the writer
Throws:
ServiceXmlSerializationException - the service xml serialization exception

getUri

protected java.lang.String getUri()
Gets the URI of the property definition.

Returns:
The URI of the property definition.