microsoft.exchange.webservices.data
Class TimeSuggestion

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

public final class TimeSuggestion
extends ComplexProperty

Represents an availability time suggestion.


Constructor Summary
protected TimeSuggestion()
          Initializes a new instance of the TimeSuggestion class.
 
Method Summary
 java.util.Collection<Conflict> getConflicts()
          Gets a collection of conflicts at the suggested time.
 java.util.Date getMeetingTime()
          Gets the suggested time.
 SuggestionQuality getQuality()
          Gets the quality of the suggestion.
 boolean isWorkTime()
          Gets a value indicating whether the suggested time is within working hours.
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

TimeSuggestion

protected TimeSuggestion()
Initializes a new instance of the TimeSuggestion 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 appropriate element was read.
Throws:
java.lang.Exception - the exception

getMeetingTime

public java.util.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 java.util.Collection<Conflict> getConflicts()
Gets a collection of conflicts at the suggested time.

Returns:
the conflicts