microsoft.exchange.webservices.data
Class CalendarEvent

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

public final class CalendarEvent
extends ComplexProperty

Represents an event in a calendar.


Constructor Summary
protected CalendarEvent()
          Initializes a new instance of the CalendarEvent class.
 
Method Summary
 CalendarEventDetails getDetails()
          Gets the details of the calendar event.
 java.util.Date getEndTime()
          Gets the end date and time of the event.
 LegacyFreeBusyStatus getFreeBusyStatus()
          Gets the free/busy status associated with the event.
 java.util.Date getStartTime()
          Gets the start date and time of the event.
protected  boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Attempts to read the element at the reader's current position.
 
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

CalendarEvent

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

Method Detail

getStartTime

public java.util.Date getStartTime()
Gets the start date and time of the event.

Returns:
the start time

getEndTime

public java.util.Date getEndTime()
Gets the end date and time of the event.

Returns:
the end time

getFreeBusyStatus

public LegacyFreeBusyStatus getFreeBusyStatus()
Gets the free/busy status associated with the event.

Returns:
the free busy status

getDetails

public CalendarEventDetails getDetails()
Gets the details of the calendar event. Details is null if the user requsting them does no have the appropriate rights.

Returns:
the details

tryReadElementFromXml

protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                                 throws java.lang.Exception
Attempts to read the element at the reader's current position.

Overrides:
tryReadElementFromXml in class ComplexProperty
Parameters:
reader - the reader
Returns:
True if the element was read, false otherwise.
Throws:
java.lang.Exception - the exception