microsoft.exchange.webservices.data
Class ResponseObjectsPropertyDefinition

java.lang.Object
  extended by microsoft.exchange.webservices.data.PropertyDefinitionBase
      extended by microsoft.exchange.webservices.data.ServiceObjectPropertyDefinition
          extended by microsoft.exchange.webservices.data.PropertyDefinition
              extended by microsoft.exchange.webservices.data.ResponseObjectsPropertyDefinition

public class ResponseObjectsPropertyDefinition
extends PropertyDefinition

Represents response object property defintion.


Constructor Summary
protected ResponseObjectsPropertyDefinition(java.lang.String xmlElementName, java.lang.String uri, ExchangeVersion version)
          Initializes a new instance of the ResponseObjectsPropertyDefinition class.
 
Method Summary
 java.lang.Class getType()
          Gets the property type.
protected  boolean isNullable()
          Gets a value indicating whether this property definition is for a nullable type (ref, int?, bool?...).
protected  void loadPropertyValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, microsoft.exchange.webservices.data.PropertyBag propertyBag)
          Loads from XML.
protected  void writePropertyValueToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, microsoft.exchange.webservices.data.PropertyBag propertyBag, boolean isUpdateOperation)
          Writes to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.PropertyDefinition
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, registerAssociatedInternalProperties, setName
 
Methods inherited from class microsoft.exchange.webservices.data.ServiceObjectPropertyDefinition
getUri, getXmlElementName, writeAttributesToXml
 
Methods inherited from class microsoft.exchange.webservices.data.PropertyDefinitionBase
toString, tryLoadFromXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseObjectsPropertyDefinition

protected ResponseObjectsPropertyDefinition(java.lang.String xmlElementName,
                                            java.lang.String uri,
                                            ExchangeVersion version)
Initializes a new instance of the ResponseObjectsPropertyDefinition class.

Parameters:
xmlElementName - the xml element name
uri - the uri
version - the version
Method Detail

loadPropertyValueFromXml

protected final void loadPropertyValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
                                              microsoft.exchange.webservices.data.PropertyBag propertyBag)
                                       throws java.lang.Exception
Loads from XML.

Specified by:
loadPropertyValueFromXml in class PropertyDefinition
Parameters:
reader - the reader
propertyBag - the property bag
Throws:
java.lang.Exception - the exception

writePropertyValueToXml

protected void writePropertyValueToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
                                       microsoft.exchange.webservices.data.PropertyBag propertyBag,
                                       boolean isUpdateOperation)
Writes to XML.

Specified by:
writePropertyValueToXml in class PropertyDefinition
Parameters:
writer - the writer
propertyBag - the property bag
isUpdateOperation - the is update operation

isNullable

protected boolean isNullable()
Gets a value indicating whether this property definition is for a nullable type (ref, int?, bool?...).

Overrides:
isNullable in class PropertyDefinition
Returns:
always true

getType

public java.lang.Class getType()
Gets the property type.

Specified by:
getType in class PropertyDefinitionBase