microsoft.exchange.webservices.data
Class OccurrenceInfo

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

public final class OccurrenceInfo
extends ComplexProperty

Encapsulates information on the occurrence of a recurring appointment.


Constructor Summary
protected OccurrenceInfo()
          Initializes a new instance of the OccurrenceInfo class.
 
Method Summary
 java.util.Date getEnd()
          Gets the end date and time of the occurrence.
 ItemId getItemId()
          Gets the Id of the occurrence.
 java.util.Date getOriginalStart()
          Gets the original start date and time of the occurrence.
 java.util.Date getStart()
          Gets the start date and time of the occurrence.
protected  boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Tries to read element from 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, writeElementsToXml, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OccurrenceInfo

protected OccurrenceInfo()
Initializes a new instance of the OccurrenceInfo class.

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

getItemId

public ItemId getItemId()
Gets the Id of the occurrence.

Returns:
the item id

getStart

public java.util.Date getStart()
Gets the start date and time of the occurrence.

Returns:
the start

getEnd

public java.util.Date getEnd()
Gets the end date and time of the occurrence.

Returns:
the end

getOriginalStart

public java.util.Date getOriginalStart()
Gets the original start date and time of the occurrence.

Returns:
the original start