Class CalendarEvent
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.availability.CalendarEvent
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class CalendarEvent extends ComplexProperty
Represents an event in a calendar.
-
-
Constructor Summary
Constructors Constructor Description CalendarEvent()Initializes a new instance of the CalendarEvent class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CalendarEventDetailsgetDetails()Gets the details of the calendar event.DategetEndTime()Gets the end date and time of the event.LegacyFreeBusyStatusgetFreeBusyStatus()Gets the free/busy status associated with the event.DategetStartTime()Gets the start date and time of the event.booleantryReadElementFromXml(EwsServiceXmlReader reader)Attempts to read the element at the reader's current position.-
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, writeElementsToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
CalendarEvent
public CalendarEvent()
Initializes a new instance of the CalendarEvent class.
-
-
Method Detail
-
getStartTime
public Date getStartTime()
Gets the start date and time of the event.- Returns:
- the start time
-
getEndTime
public 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
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Attempts to read the element at the reader's current position.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- the reader- Returns:
- True if the element was read, false otherwise.
- Throws:
Exception- the exception
-
-