public class DateTimePropertyDefinition extends PropertyDefinition
| Constructor and Description |
|---|
DateTimePropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance of the DateTimePropertyDefinition class.
|
DateTimePropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
boolean isNullable)
Initializes a new instance of the DateTimePropertyDefinition class.
|
DateTimePropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version)
Initializes a new instance of the DateTimePropertyDefinition class.
|
| Modifier and Type | Method and Description |
|---|---|
Class<Date> |
getType()
Gets the property type.
|
boolean |
isNullable()
Gets a value indicating whether this property definition is for a
nullable type (ref, int?
|
void |
loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
Loads from XML.
|
void |
writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
Writes the property value to XML.
|
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, registerAssociatedInternalProperties, setNamegetUri, getXmlElementName, writeAttributesToXmltoString, tryLoadFromXml, writeToXmlpublic DateTimePropertyDefinition(String xmlElementName, String uri, ExchangeVersion version)
xmlElementName - the xml element nameuri - the uriversion - the versionpublic DateTimePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
xmlElementName - the xml element nameuri - the uriflags - the flagsversion - the versionpublic DateTimePropertyDefinition(String xmlElementName, String uri, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version, boolean isNullable)
xmlElementName - the xml element nameuri - the uriflags - the flagsversion - the versionisNullable - the is nullablepublic void loadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
loadPropertyValueFromXml in class PropertyDefinitionreader - the readerpropertyBag - the property bagException - the exceptionpublic void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
writePropertyValueToXml in class PropertyDefinitionwriter - accepts EwsServiceXmlWriterpropertyBag - accepts PropertyBagisUpdateOperation - accepts boolean whether the context is an update operation.Exception - throws Exceptionpublic boolean isNullable()
isNullable in class PropertyDefinitionpublic Class<Date> getType()
getType in class PropertyDefinitionBaseCopyright © 2012–2015 Microsoft. All rights reserved.