|
||||||||
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(java.lang.String xmlElementName,
java.util.EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance. |
protected |
PropertyDefinition(java.lang.String xmlElementName,
java.lang.String uri,
java.util.EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
* Initializes a new instance. |
protected |
PropertyDefinition(java.lang.String xmlElementName,
java.lang.String uri,
ExchangeVersion version)
Initializes a new instance. |
Method Summary | |
---|---|
protected java.util.List<PropertyDefinition> |
getAssociatedInternalProperties()
Gets a list of associated internal properties. |
java.lang.String |
getName()
Gets the name of the property. |
protected java.lang.String |
getPrintableName()
Gets the property definition's printable name. |
ExchangeVersion |
getVersion()
Gets the minimum Exchange version that supports this property. |
protected java.lang.String |
getXmlElement()
Gets the name of the XML element. |
protected boolean |
hasFlag(PropertyDefinitionFlags flag)
Determines whether the specified flag is set. |
protected boolean |
hasFlag(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(java.util.List<PropertyDefinition> properties)
Registers associated internal properties. |
protected void |
setName(java.lang.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(java.lang.String xmlElementName, java.lang.String uri, ExchangeVersion version)
xmlElementName
- Name of the XML element.uri
- The URI.version
- The version.protected PropertyDefinition(java.lang.String xmlElementName, java.util.EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
xmlElementName
- Name of the XML element.flags
- The flags.version
- The version.protected PropertyDefinition(java.lang.String xmlElementName, java.lang.String uri, java.util.EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version)
xmlElementName
- Name of the XML element.uri
- The URI.flags
- The flags.version
- The version.Method Detail |
---|
protected boolean hasFlag(PropertyDefinitionFlags flag)
flag
- The flag.
protected boolean hasFlag(PropertyDefinitionFlags flag, ExchangeVersion version)
flag
- The flag.
protected void registerAssociatedInternalProperties(java.util.List<PropertyDefinition> properties)
properties
- The list in which to add the associated properties.protected java.util.List<PropertyDefinition> getAssociatedInternalProperties()
public ExchangeVersion getVersion()
getVersion
in class ServiceObjectPropertyDefinition
protected boolean isNullable()
protected abstract void loadPropertyValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, microsoft.exchange.webservices.data.PropertyBag propertyBag) throws ServiceXmlDeserializationException, javax.xml.stream.XMLStreamException, java.lang.InstantiationException, java.lang.IllegalAccessException, ServiceObjectPropertyException, ServiceVersionException, java.lang.Exception
reader
- The reader.propertyBag
- The property bag.
ServiceXmlDeserializationException
- the service xml deserialization exception
javax.xml.stream.XMLStreamException
- the xML stream exception
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
ServiceObjectPropertyException
- the service object property exception
ServiceVersionException
- the service version exception
java.lang.Exception
- the exceptionprotected abstract void writePropertyValueToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, microsoft.exchange.webservices.data.PropertyBag propertyBag, boolean isUpdateOperation) throws javax.xml.stream.XMLStreamException, ServiceXmlSerializationException, ServiceLocalException, java.lang.InstantiationException, java.lang.IllegalAccessException, ServiceValidationException, java.lang.Exception
writer
- The writer.propertyBag
- The property bag.isUpdateOperation
- Indicates whether the context is an update operation.
javax.xml.stream.XMLStreamException
- the xML stream exception
ServiceXmlSerializationException
- the service xml serialization exception
ServiceLocalException
- the service local exception
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
ServiceValidationException
- the service validation exception
java.lang.Exception
- the exceptionprotected java.lang.String getXmlElement()
public java.lang.String getName()
protected void setName(java.lang.String name)
name
- name of the propertyprotected java.lang.String getPrintableName()
getPrintableName
in class PropertyDefinitionBase
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |