|
||||||||||
| 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
public abstract class PropertyDefinition
Represents the definition of a folder or item property.
| Constructor Summary | |
|---|---|
protected |
PropertyDefinition(String xmlElementName,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance. |
protected |
PropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance. |
protected |
PropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version)
Initializes a new instance. |
| Method Summary | |
|---|---|
List<PropertyDefinition> |
getAssociatedInternalProperties()
Gets a list of associated internal property. |
String |
getName()
Gets the name of the property. |
String |
getPrintableName()
Gets the property definition's printable name. |
ExchangeVersion |
getVersion()
Gets the minimum Exchange version that supports this property. |
String |
getXmlElement()
Gets the name of the XML element. |
boolean |
hasFlag(PropertyDefinitionFlags flag)
Determines whether the specified flag is set. |
boolean |
hasFlag(PropertyDefinitionFlags flag,
ExchangeVersion version)
Determines whether the specified flag is set. |
boolean |
isNullable()
Gets a value indicating whether this property definition is for a nullable type. |
abstract void |
loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
Loads from XML. |
protected void |
registerAssociatedInternalProperties(List<PropertyDefinition> properties)
Registers associated internal property. |
void |
setName(String name)
Sets the name of the property. |
abstract void |
writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
Writes the property value to XML. |
| 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 |
|---|
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<PropertyDefinitionFlags> flags,
ExchangeVersion version)
xmlElementName - Name of the XML element.flags - The flags.version - The version.
protected PropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
xmlElementName - Name of the XML element.uri - The URI.flags - The flags.version - The version.| Method Detail |
|---|
public boolean hasFlag(PropertyDefinitionFlags flag)
flag - The flag.
public boolean hasFlag(PropertyDefinitionFlags flag,
ExchangeVersion version)
flag - The flag.
protected void registerAssociatedInternalProperties(List<PropertyDefinition> properties)
properties - The list in which to add the associated property.public List<PropertyDefinition> getAssociatedInternalProperties()
public ExchangeVersion getVersion()
getVersion in class ServiceObjectPropertyDefinitionpublic boolean isNullable()
public abstract void loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
throws Exception
reader - The reader.propertyBag - The property bag.
Exception - the exception
public abstract void writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
throws Exception
writer - the writerpropertyBag - the property bagisUpdateOperation - indicates whether the context is an update operation
Exception - the exceptionpublic String getXmlElement()
public String getName()
public void setName(String name)
name - name of the propertypublic String getPrintableName()
getPrintableName in class PropertyDefinitionBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||