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

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

public class RecurrencePropertyDefinition
extends PropertyDefinition

Represenrs recurrence property definition.


Constructor Summary
RecurrencePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
          Initializes a new instance of the RecurrencePropertyDefinition class.
 
Method Summary
 Class<Recurrence> getType()
          Gets the property type.
 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, isNullable, 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

RecurrencePropertyDefinition

public RecurrencePropertyDefinition(String xmlElementName,
                                    String uri,
                                    EnumSet<PropertyDefinitionFlags> flags,
                                    ExchangeVersion version)
Initializes a new instance of the RecurrencePropertyDefinition class.

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

loadPropertyValueFromXml

public 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)
                             throws Exception
Writes to XML.

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

getType

public Class<Recurrence> getType()
Gets the property type.

Specified by:
getType in class PropertyDefinitionBase


Copyright © 2012–2015 Microsoft. All rights reserved.