public class StartTimeZonePropertyDefinition extends TimeZonePropertyDefinition
Constructor and Description |
---|
StartTimeZonePropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance of the StartTimeZonePropertyDefinition
class.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getType, loadPropertyValueFromXml
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, isNullable, setName
getUri, getXmlElementName, writeAttributesToXml
toString, tryLoadFromXml
public StartTimeZonePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
xmlElementName
- the xml element nameuri
- the uriflags
- the flagsversion
- the versionprotected void registerAssociatedInternalProperties(List<PropertyDefinition> properties)
registerAssociatedInternalProperties
in class PropertyDefinition
properties
- the propertypublic void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
writePropertyValueToXml
in class TimeZonePropertyDefinition
writer
- the writerpropertyBag
- the property bagisUpdateOperation
- the is update operationException
- the exceptionpublic void writeToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeToXml
in class PropertyDefinitionBase
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionpublic boolean hasFlag(PropertyDefinitionFlags flag, ExchangeVersion version)
hasFlag
in class PropertyDefinition
flag
- The flag.version
- Requested version.Copyright © 2012–2015 Microsoft. All rights reserved.