|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.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.DateTimePropertyDefinition
public class DateTimePropertyDefinition
Represents DateTime property definition.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
Class<Date> |
getType()
Gets the property type. |
boolean |
isNullable()
Gets a value indicating whether this property definition is for a nullable type (ref, int?, bool?...). |
void |
loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
Loads from XML. |
void |
writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
Writes the property value to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinition |
|---|
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimePropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version)
xmlElementName - the xml element nameuri - the uriversion - the version
public DateTimePropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
xmlElementName - the xml element nameuri - the uriflags - the flagsversion - the version
public 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 nullable| Method Detail |
|---|
public void loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
throws Exception
loadPropertyValueFromXml in class PropertyDefinitionreader - the readerpropertyBag - the property bag
Exception - the exception
public 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 PropertyDefinitionBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||