Class TimeZonePropertyDefinition
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
-
- microsoft.exchange.webservices.data.property.definition.ServiceObjectPropertyDefinition
-
- microsoft.exchange.webservices.data.property.definition.PropertyDefinition
-
- microsoft.exchange.webservices.data.property.definition.TimeZonePropertyDefinition
-
- Direct Known Subclasses:
StartTimeZonePropertyDefinition
public class TimeZonePropertyDefinition extends PropertyDefinition
Represents a property definition for property of type TimeZoneInfo.
-
-
Constructor Summary
Constructors Constructor Description TimeZonePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)Initializes a new instance of the TimeZonePropertyDefinition class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<TimeZone>getType()Gets the property type.voidloadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)Loads from XML.voidwritePropertyValueToXml(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
-
-
-
-
Constructor Detail
-
TimeZonePropertyDefinition
public TimeZonePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
Initializes a new instance of the TimeZonePropertyDefinition class.- Parameters:
xmlElementName- the xml element nameuri- the uriflags- the flagsversion- the version
-
-
Method Detail
-
loadPropertyValueFromXml
public void loadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
Loads from XML.- Specified by:
loadPropertyValueFromXmlin classPropertyDefinition- Parameters:
reader- the readerpropertyBag- the property bag- Throws:
Exception- the exception
-
writePropertyValueToXml
public void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
Writes to XML.- Specified by:
writePropertyValueToXmlin classPropertyDefinition- Parameters:
writer- the writerpropertyBag- the property bagisUpdateOperation- the is update operation- Throws:
Exception- the exception
-
getType
public Class<TimeZone> getType()
Gets the property type.- Specified by:
getTypein classPropertyDefinitionBase
-
-