Class ExtendedProperty
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.ExtendedProperty
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class ExtendedProperty extends ComplexProperty
Represents an extended property.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExtendedProperty()Initializes a new instance.protectedExtendedProperty(ExtendedPropertyDefinition propertyDefinition)Initializes a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ExtendedPropertyDefinitiongetPropertyDefinition()Gets the definition of the extended property.ObjectgetValue()Gets the value of the extended property.inthashCode()Serves as a hash function for a particular type.voidsetValue(Object val)Sets the value of the extended property.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
ExtendedProperty
protected ExtendedProperty()
Initializes a new instance.
-
ExtendedProperty
protected ExtendedProperty(ExtendedPropertyDefinition propertyDefinition) throws Exception
Initializes a new instance.- Parameters:
propertyDefinition- The definition of the extended property.- Throws:
Exception- the exception
-
-
Method Detail
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- The reader.- Returns:
- true, if successful
- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
Writes elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
ServiceXmlSerializationException- the service xml serialization exceptionXMLStreamException- the XML stream exception
-
getPropertyDefinition
public ExtendedPropertyDefinition getPropertyDefinition()
Gets the definition of the extended property.- Returns:
- The definition of the extended property.
-
setValue
public void setValue(Object val) throws Exception
Sets the value of the extended property.- Parameters:
val- value of the extended property- Throws:
Exception- the exception
-
-