Class StartTimeZonePropertyDefinition
- 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
-
- microsoft.exchange.webservices.data.property.definition.StartTimeZonePropertyDefinition
-
public class StartTimeZonePropertyDefinition extends TimeZonePropertyDefinition
Represents a property definition for property of type TimeZoneInfo.
-
-
Constructor Summary
Constructors Constructor Description StartTimeZonePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)Initializes a new instance of the StartTimeZonePropertyDefinition class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasFlag(PropertyDefinitionFlags flag, ExchangeVersion version)Determines whether the specified flag is set.protected voidregisterAssociatedInternalProperties(List<PropertyDefinition> properties)Registers associated internal property.voidwritePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation)Writes to XML.voidwriteToXml(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
-
-
-
-
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 nameuri- the uriflags- the flagsversion- the version
-
-
Method Detail
-
registerAssociatedInternalProperties
protected void registerAssociatedInternalProperties(List<PropertyDefinition> properties)
Registers associated internal property.- Overrides:
registerAssociatedInternalPropertiesin classPropertyDefinition- Parameters:
properties- the property
-
writePropertyValueToXml
public void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
Writes to XML.- Overrides:
writePropertyValueToXmlin classTimeZonePropertyDefinition- Parameters:
writer- the writerpropertyBag- the property bagisUpdateOperation- the is update operation- Throws:
Exception- the exception
-
writeToXml
public void writeToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
Writes to XML.- Overrides:
writeToXmlin classPropertyDefinitionBase- Parameters:
writer- the writer- Throws:
XMLStreamException- the XML stream exceptionServiceXmlSerializationException- the service xml serialization exception
-
hasFlag
public boolean hasFlag(PropertyDefinitionFlags flag, ExchangeVersion version)
Determines whether the specified flag is set.- Overrides:
hasFlagin classPropertyDefinition- Parameters:
flag- The flag.version- Requested version.- Returns:
- true if the specified flag is set; otherwise, false.
-
-