microsoft.exchange.webservices.data
Class ExtendedProperty

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.ExtendedProperty

public final class ExtendedProperty
extends ComplexProperty

Represents an extended property.


Constructor Summary
protected ExtendedProperty()
          Initializes a new instance.
protected ExtendedProperty(ExtendedPropertyDefinition propertyDefinition)
          * Initializes a new instance.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether the specified is equal to the current true if the specified is equal to the current
 ExtendedPropertyDefinition getPropertyDefinition()
          Gets the definition of the extended property.
 java.lang.Object getValue()
          * Gets the value of the extended property.
 int hashCode()
          Serves as a hash function for a particular type.
 void setValue(java.lang.Object val)
          * Sets the value of the extended property.
protected  boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          * Tries to read element from XML.
protected  void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes elements to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedProperty

protected ExtendedProperty()
Initializes a new instance.


ExtendedProperty

protected ExtendedProperty(ExtendedPropertyDefinition propertyDefinition)
                    throws java.lang.Exception
* Initializes a new instance.

Parameters:
propertyDefinition - The definition of the extended property.
Throws:
java.lang.Exception - the exception
Method Detail

tryReadElementFromXml

protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                                 throws java.lang.Exception
* Tries to read element from XML.

Overrides:
tryReadElementFromXml in class ComplexProperty
Parameters:
reader - The reader.
Returns:
true, if successful
Throws:
java.lang.Exception - the exception

writeElementsToXml

protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                           throws ServiceXmlSerializationException,
                                  javax.xml.stream.XMLStreamException
Writes elements to XML.

Overrides:
writeElementsToXml in class ComplexProperty
Parameters:
writer - the writer
Throws:
ServiceXmlSerializationException - the service xml serialization exception
javax.xml.stream.XMLStreamException - the xML stream exception

getPropertyDefinition

public ExtendedPropertyDefinition getPropertyDefinition()
Gets the definition of the extended property.

Returns:
The definition of the extended property.

getValue

public java.lang.Object getValue()
* Gets the value of the extended property.

Returns:
the value

setValue

public void setValue(java.lang.Object val)
              throws java.lang.Exception
* Sets the value of the extended property.

Parameters:
val - value of the extended property
Throws:
java.lang.Exception - the exception

equals

public boolean equals(java.lang.Object obj)
Determines whether the specified is equal to the current true if the specified is equal to the current

Overrides:
equals in class java.lang.Object
Parameters:
obj - the obj
Returns:
boolean

hashCode

public int hashCode()
Serves as a hash function for a particular type.

Overrides:
hashCode in class java.lang.Object
Returns:
int