microsoft.exchange.webservices.data.property.complex.availability
Class Suggestion

java.lang.Object
  extended by microsoft.exchange.webservices.data.property.complex.ComplexProperty
      extended by microsoft.exchange.webservices.data.property.complex.availability.Suggestion
All Implemented Interfaces:
ISelfValidate, ComplexFunctionDelegate<EwsServiceXmlReader>

public final class Suggestion
extends ComplexProperty

Represents a suggestion for a specific date.


Constructor Summary
Suggestion()
          Initializes a new instance of the Suggestion class.
 
Method Summary
 Date getDate()
          Gets the date and time of the suggestion.
 SuggestionQuality getQuality()
          Gets the quality of the suggestion.
 Collection<TimeSuggestion> getTimeSuggestions()
          Gets a collection of suggested times within the suggested day.
 boolean tryReadElementFromXml(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Suggestion

public Suggestion()
Initializes a new instance of the Suggestion class.

Method Detail

tryReadElementFromXml

public boolean tryReadElementFromXml(EwsServiceXmlReader reader)
                              throws Exception
Tries to read element from XML.

Overrides:
tryReadElementFromXml in class ComplexProperty
Parameters:
reader - the reader
Returns:
True if appropriate element was read.
Throws:
Exception - the exception

getDate

public Date getDate()
Gets the date and time of the suggestion.

Returns:
the date

getQuality

public SuggestionQuality getQuality()
Gets the quality of the suggestion.

Returns:
the quality

getTimeSuggestions

public Collection<TimeSuggestion> getTimeSuggestions()
Gets a collection of suggested times within the suggested day.

Returns:
the time suggestions


Copyright © 2012–2015 Microsoft. All rights reserved.