|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.PropertyDefinitionBase
microsoft.exchange.webservices.data.ServiceObjectPropertyDefinition
microsoft.exchange.webservices.data.PropertyDefinition
public abstract class PropertyDefinition
Represents the definition of a folder or item property.
| Constructor Summary | |
|---|---|
protected |
PropertyDefinition(String xmlElementName,
EnumSet<microsoft.exchange.webservices.data.PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance. |
protected |
PropertyDefinition(String xmlElementName,
String uri,
EnumSet<microsoft.exchange.webservices.data.PropertyDefinitionFlags> flags,
ExchangeVersion version)
* Initializes a new instance. |
protected |
PropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version)
Initializes a new instance. |
| Method Summary | |
|---|---|
protected List<PropertyDefinition> |
getAssociatedInternalProperties()
Gets a list of associated internal properties. |
String |
getName()
Gets the name of the property. |
protected String |
getPrintableName()
Gets the property definition's printable name. |
ExchangeVersion |
getVersion()
Gets the minimum Exchange version that supports this property. |
protected String |
getXmlElement()
Gets the name of the XML element. |
protected boolean |
hasFlag(microsoft.exchange.webservices.data.PropertyDefinitionFlags flag)
Determines whether the specified flag is set. |
protected boolean |
hasFlag(microsoft.exchange.webservices.data.PropertyDefinitionFlags flag,
ExchangeVersion version)
Determines whether the specified flag is set. |
protected boolean |
isNullable()
* Gets a value indicating whether this property definition is for a nullable type. |
protected abstract void |
loadPropertyValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
microsoft.exchange.webservices.data.PropertyBag propertyBag)
* Loads from XML. |
protected void |
registerAssociatedInternalProperties(List<PropertyDefinition> properties)
Registers associated internal properties. |
protected void |
setName(String name)
Sets the name of the property. |
protected abstract void |
writePropertyValueToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
microsoft.exchange.webservices.data.PropertyBag propertyBag,
boolean isUpdateOperation)
* Writes the property value to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.ServiceObjectPropertyDefinition |
|---|
getUri, getXmlElementName, writeAttributesToXml |
| Methods inherited from class microsoft.exchange.webservices.data.PropertyDefinitionBase |
|---|
getType, toString, tryLoadFromXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version)
xmlElementName - Name of the XML element.uri - The URI.version - The version.
protected PropertyDefinition(String xmlElementName,
EnumSet<microsoft.exchange.webservices.data.PropertyDefinitionFlags> flags,
ExchangeVersion version)
xmlElementName - Name of the XML element.flags - The flags.version - The version.
protected PropertyDefinition(String xmlElementName,
String uri,
EnumSet<microsoft.exchange.webservices.data.PropertyDefinitionFlags> flags,
ExchangeVersion version)
xmlElementName - Name of the XML element.uri - The URI.flags - The flags.version - The version.| Method Detail |
|---|
protected boolean hasFlag(microsoft.exchange.webservices.data.PropertyDefinitionFlags flag)
flag - The flag.
protected boolean hasFlag(microsoft.exchange.webservices.data.PropertyDefinitionFlags flag,
ExchangeVersion version)
flag - The flag.
protected void registerAssociatedInternalProperties(List<PropertyDefinition> properties)
properties - The list in which to add the associated properties.protected List<PropertyDefinition> getAssociatedInternalProperties()
public ExchangeVersion getVersion()
getVersion in class ServiceObjectPropertyDefinitionprotected boolean isNullable()
protected abstract void loadPropertyValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
microsoft.exchange.webservices.data.PropertyBag propertyBag)
throws ServiceXmlDeserializationException,
XMLStreamException,
InstantiationException,
IllegalAccessException,
ServiceObjectPropertyException,
ServiceVersionException,
Exception
reader - The reader.propertyBag - The property bag.
ServiceXmlDeserializationException - the service xml deserialization exception
XMLStreamException - the xML stream exception
InstantiationException - the instantiation exception
IllegalAccessException - the illegal access exception
ServiceObjectPropertyException - the service object property exception
ServiceVersionException - the service version exception
Exception - the exception
protected abstract void writePropertyValueToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
microsoft.exchange.webservices.data.PropertyBag propertyBag,
boolean isUpdateOperation)
throws XMLStreamException,
ServiceXmlSerializationException,
ServiceLocalException,
InstantiationException,
IllegalAccessException,
ServiceValidationException,
Exception
writer - The writer.propertyBag - The property bag.isUpdateOperation - Indicates whether the context is an update operation.
XMLStreamException - the xML stream exception
ServiceXmlSerializationException - the service xml serialization exception
ServiceLocalException - the service local exception
InstantiationException - the instantiation exception
IllegalAccessException - the illegal access exception
ServiceValidationException - the service validation exception
Exception - the exceptionprotected String getXmlElement()
public String getName()
protected void setName(String name)
name - name of the propertyprotected String getPrintableName()
getPrintableName in class PropertyDefinitionBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||