microsoft.exchange.webservices.data
Class RulePredicateDateRange

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

public final class RulePredicateDateRange
extends ComplexProperty

Represents the date and time range within which messages have been received.


Constructor Summary
protected RulePredicateDateRange()
          Initializes a new instance of the RulePredicateDateRange class.
 
Method Summary
 java.util.Date getEnd()
          Gets or sets the range end date and time.
 java.util.Date getStart()
          Gets or sets the range start date and time.
protected  void internalValidate()
          Validates this instance.
 void setEnd(java.util.Date value)
           
 void setStart(java.util.Date value)
           
protected  boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Tries to read element from XML.
protected  void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes elements to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulePredicateDateRange

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

Method Detail

getStart

public java.util.Date getStart()
Gets or sets the range start date and time. If Start is set to null, no start date applies.


setStart

public void setStart(java.util.Date value)

getEnd

public java.util.Date getEnd()
Gets or sets the range end date and time. If End is set to null, no end date applies.


setEnd

public void setEnd(java.util.Date value)

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 element was read.
Throws:
java.lang.Exception - the exception

writeElementsToXml

protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                           throws ServiceXmlSerializationException,
                                  javax.xml.stream.XMLStreamException
Writes elements to XML.

Overrides:
writeElementsToXml in class ComplexProperty
Parameters:
writer - The writer.
Throws:
ServiceXmlSerializationException
javax.xml.stream.XMLStreamException

internalValidate

protected void internalValidate()
                         throws ServiceValidationException,
                                java.lang.Exception
Validates this instance.

Overrides:
internalValidate in class ComplexProperty
Throws:
ServiceValidationException - the service validation exception
java.lang.Exception