public class TimeZonePropertyDefinition extends PropertyDefinition
Constructor and Description |
---|
TimeZonePropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance of the TimeZonePropertyDefinition class.
|
Modifier and Type | Method and Description |
---|---|
Class<TimeZone> |
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.
|
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, isNullable, registerAssociatedInternalProperties, setName
getUri, getXmlElementName, writeAttributesToXml
toString, tryLoadFromXml, writeToXml
public TimeZonePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
xmlElementName
- the xml element nameuri
- the uriflags
- the flagsversion
- the versionpublic void loadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
loadPropertyValueFromXml
in class PropertyDefinition
reader
- the readerpropertyBag
- the property bagException
- the exceptionpublic void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
writePropertyValueToXml
in class PropertyDefinition
writer
- the writerpropertyBag
- the property bagisUpdateOperation
- the is update operationException
- the exceptionpublic Class<TimeZone> getType()
getType
in class PropertyDefinitionBase
Copyright © 2012–2015 Microsoft. All rights reserved.