Class ResponseObjectsPropertyDefinition
- 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.ResponseObjectsPropertyDefinition
-
public class ResponseObjectsPropertyDefinition extends PropertyDefinition
Represents response object property defintion.
-
-
Constructor Summary
Constructors Constructor Description ResponseObjectsPropertyDefinition(String xmlElementName, String uri, ExchangeVersion version)Initializes a new instance of the ResponseObjectsPropertyDefinition class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<ResponseActions>getType()Gets the property type.booleanisNullable()Gets a value indicating whether this property definition is for a nullable type (ref, int?, bool?...).voidloadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)Loads from XML.voidwritePropertyValueToXml(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
-
-
-
-
Constructor Detail
-
ResponseObjectsPropertyDefinition
public ResponseObjectsPropertyDefinition(String xmlElementName, String uri, ExchangeVersion version)
Initializes a new instance of the ResponseObjectsPropertyDefinition class.- Parameters:
xmlElementName- the xml element nameuri- the uriversion- the version
-
-
Method Detail
-
loadPropertyValueFromXml
public final void loadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
Loads from XML.- Specified by:
loadPropertyValueFromXmlin classPropertyDefinition- Parameters:
reader- the readerpropertyBag- the property bag- Throws:
Exception- the exception
-
writePropertyValueToXml
public void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation)
Writes to XML.- Specified by:
writePropertyValueToXmlin classPropertyDefinition- Parameters:
writer- the writerpropertyBag- the property bagisUpdateOperation- 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:
isNullablein classPropertyDefinition- Returns:
- always true
-
getType
public Class<ResponseActions> getType()
Gets the property type.- Specified by:
getTypein classPropertyDefinitionBase
-
-