Class TimeSuggestion
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.availability.TimeSuggestion
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class TimeSuggestion extends ComplexProperty
Represents an availability time suggestion.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTimeSuggestion()Initializes a new instance of the TimeSuggestion class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Conflict>getConflicts()Gets a collection of conflicts at the suggested time.DategetMeetingTime()Gets the suggested time.SuggestionQualitygetQuality()Gets the quality of the suggestion.booleanisWorkTime()Gets a value indicating whether the suggested time is within working hours.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from 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, writeElementsToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
TimeSuggestion
protected TimeSuggestion()
Initializes a new instance of the TimeSuggestion class.
-
-
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 appropriate element was read.
- Throws:
Exception- the exception
-
getMeetingTime
public Date getMeetingTime()
Gets the suggested time.- Returns:
- the meeting time
-
isWorkTime
public boolean isWorkTime()
Gets a value indicating whether the suggested time is within working hours.- Returns:
- true, if is work time
-
getQuality
public SuggestionQuality getQuality()
Gets the quality of the suggestion.- Returns:
- the quality
-
getConflicts
public Collection<Conflict> getConflicts()
Gets a collection of conflicts at the suggested time.- Returns:
- the conflicts
-
-