microsoft.exchange.webservices.data
Class AttachmentsPropertyDefinition

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.AttachmentsPropertyDefinition

public final class AttachmentsPropertyDefinition
extends PropertyDefinition

Represents base Attachments property type.


Constructor Summary
AttachmentsPropertyDefinition()
           
 
Method Summary
protected  ComplexProperty createPropertyInstance(ServiceObject owner)
          Creates the property instance.
 java.lang.Class getType()
          Gets the property type.
protected  boolean hasFlag(PropertyDefinitionFlags flag, ExchangeVersion version)
          Determines whether the specified flag is set.
protected  void internalLoadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, microsoft.exchange.webservices.data.PropertyBag propertyBag)
          * Internals the load from XML.
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, isNullable, 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

AttachmentsPropertyDefinition

public AttachmentsPropertyDefinition()
Method Detail

hasFlag

protected boolean hasFlag(PropertyDefinitionFlags flag,
                          ExchangeVersion version)
Determines whether the specified flag is set.

Overrides:
hasFlag in class PropertyDefinition
Parameters:
flag - The flag.
version - Requested version.
Returns:
true/false if the specified flag is set,otherwise false.

createPropertyInstance

protected ComplexProperty createPropertyInstance(ServiceObject owner)
Creates the property instance.

Parameters:
owner - The owner.
Returns:
ComplexProperty instance.

getType

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

Specified by:
getType in class PropertyDefinitionBase

internalLoadFromXml

protected void internalLoadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
                                   microsoft.exchange.webservices.data.PropertyBag propertyBag)
                            throws java.lang.Exception
* Internals the load from XML.

Parameters:
reader - The reader.
propertyBag - The property bag.
Throws:
java.lang.Exception - the exception

loadPropertyValueFromXml

protected 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)
                                throws java.lang.Exception
* Writes to XML.

Specified by:
writePropertyValueToXml in class PropertyDefinition
Parameters:
writer - The writer.
propertyBag - The property bag.
isUpdateOperation - Indicates whether the context is an update operation.
Throws:
java.lang.Exception - the exception