microsoft.exchange.webservices.data
Class SearchFilter.RelationalFilter

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.SearchFilter
          extended by microsoft.exchange.webservices.data.SearchFilter.PropertyBasedFilter
              extended by microsoft.exchange.webservices.data.SearchFilter.RelationalFilter
Direct Known Subclasses:
SearchFilter.IsEqualTo, SearchFilter.IsGreaterThan, SearchFilter.IsGreaterThanOrEqualTo, SearchFilter.IsLessThan, SearchFilter.IsLessThanOrEqualTo, SearchFilter.IsNotEqualTo
Enclosing class:
SearchFilter

public abstract static class SearchFilter.RelationalFilter
extends SearchFilter.PropertyBasedFilter

Represents the base class for relational filters (for example, IsEqualTo, IsGreaterThan or IsLessThanOrEqualTo).


Nested Class Summary
 
Nested classes/interfaces inherited from class microsoft.exchange.webservices.data.SearchFilter
SearchFilter.ContainsSubstring, SearchFilter.ExcludesBitmask, SearchFilter.Exists, SearchFilter.IsEqualTo, SearchFilter.IsGreaterThan, SearchFilter.IsGreaterThanOrEqualTo, SearchFilter.IsLessThan, SearchFilter.IsLessThanOrEqualTo, SearchFilter.IsNotEqualTo, SearchFilter.Not, SearchFilter.PropertyBasedFilter, SearchFilter.RelationalFilter, SearchFilter.SearchFilterCollection
 
Method Summary
 PropertyDefinitionBase getOtherPropertyDefinition()
          Gets the definition of the property to compare with.
 java.lang.Object getValue()
          Gets the value of the property to compare with.
protected  java.lang.String getXmlElementName()
          gets Xml Element name.
protected  void internalValidate()
          validates the instance.
 void setOtherPropertyDefinition(PropertyDefinitionBase OtherPropertyDefinition)
          Sets the definition of the property to compare with.
 void setValue(java.lang.Object value)
          Sets the value of the property to compare with.
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 the elements to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.SearchFilter.PropertyBasedFilter
getPropertyDefinition, setPropertyDefinition
 
Methods inherited from class microsoft.exchange.webservices.data.SearchFilter
loadFromXml, writeToXml
 
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
 

Method Detail

internalValidate

protected void internalValidate()
                         throws ServiceValidationException
validates the instance.

Overrides:
internalValidate in class SearchFilter.PropertyBasedFilter
Throws:
ServiceValidationException - the service validation exception

tryReadElementFromXml

protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                                 throws java.lang.Exception
Tries to read element from XML.

Overrides:
tryReadElementFromXml in class SearchFilter.PropertyBasedFilter
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 javax.xml.stream.XMLStreamException,
                                  ServiceXmlSerializationException
Writes the elements to XML.

Overrides:
writeElementsToXml in class SearchFilter.PropertyBasedFilter
Parameters:
writer - the writer
Throws:
javax.xml.stream.XMLStreamException - , ServiceXmlSerializationException
ServiceXmlSerializationException - the service xml serialization exception

getOtherPropertyDefinition

public PropertyDefinitionBase getOtherPropertyDefinition()
Gets the definition of the property to compare with.

Returns:
otherPropertyDefinition

setOtherPropertyDefinition

public void setOtherPropertyDefinition(PropertyDefinitionBase OtherPropertyDefinition)
Sets the definition of the property to compare with.

Parameters:
OtherPropertyDefinition - the new other property definition

getValue

public java.lang.Object getValue()
Gets the value of the property to compare with.

Returns:
the value

setValue

public void setValue(java.lang.Object value)
Sets the value of the property to compare with.

Parameters:
value - the new value

getXmlElementName

protected java.lang.String getXmlElementName()
gets Xml Element name.

Specified by:
getXmlElementName in class SearchFilter
Returns:
the xml element name