microsoft.exchange.webservices.data.property.definition
Class ResponseObjectsPropertyDefinition

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

public class ResponseObjectsPropertyDefinition
extends PropertyDefinition

Represents response object property defintion.


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

Constructor Detail

ResponseObjectsPropertyDefinition

public ResponseObjectsPropertyDefinition(String xmlElementName,
                                         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

public final void loadPropertyValueFromXml(EwsServiceXmlReader reader,
                                           PropertyBag propertyBag)
                                    throws Exception
Loads from XML.

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

writePropertyValueToXml

public void writePropertyValueToXml(EwsServiceXmlWriter writer,
                                    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

public 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 Class<ResponseActions> getType()
Gets the property type.

Specified by:
getType in class PropertyDefinitionBase


Copyright © 2012–2015 Microsoft. All rights reserved.