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

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.TimeZonePropertyDefinition
                  extended by microsoft.exchange.webservices.data.property.definition.StartTimeZonePropertyDefinition

public class StartTimeZonePropertyDefinition
extends TimeZonePropertyDefinition

Represents a property definition for property of type TimeZoneInfo.


Constructor Summary
StartTimeZonePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
          Initializes a new instance of the StartTimeZonePropertyDefinition class.
 
Method Summary
 boolean hasFlag(PropertyDefinitionFlags flag, ExchangeVersion version)
          Determines whether the specified flag is set.
protected  void registerAssociatedInternalProperties(List<PropertyDefinition> properties)
          Registers associated internal property.
 void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation)
          Writes to XML.
 void writeToXml(EwsServiceXmlWriter writer)
          Writes to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.property.definition.TimeZonePropertyDefinition
getType, loadPropertyValueFromXml
 
Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinition
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, isNullable, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartTimeZonePropertyDefinition

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

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

registerAssociatedInternalProperties

protected void registerAssociatedInternalProperties(List<PropertyDefinition> properties)
Registers associated internal property.

Overrides:
registerAssociatedInternalProperties in class PropertyDefinition
Parameters:
properties - the property

writePropertyValueToXml

public void writePropertyValueToXml(EwsServiceXmlWriter writer,
                                    PropertyBag propertyBag,
                                    boolean isUpdateOperation)
                             throws Exception
Writes to XML.

Overrides:
writePropertyValueToXml in class TimeZonePropertyDefinition
Parameters:
writer - the writer
propertyBag - the property bag
isUpdateOperation - the is update operation
Throws:
Exception - the exception

writeToXml

public void writeToXml(EwsServiceXmlWriter writer)
                throws XMLStreamException,
                       ServiceXmlSerializationException
Writes to XML.

Overrides:
writeToXml in class PropertyDefinitionBase
Parameters:
writer - the writer
Throws:
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception

hasFlag

public 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 if the specified flag is set; otherwise, false.


Copyright © 2012–2015 Microsoft. All rights reserved.