Class SearchFilter.RelationalFilter
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.search.filter.SearchFilter
-
- microsoft.exchange.webservices.data.search.filter.SearchFilter.PropertyBasedFilter
-
- microsoft.exchange.webservices.data.search.filter.SearchFilter.RelationalFilter
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
- 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 filter (for example, IsEqualTo, IsGreaterThan or IsLessThanOrEqualTo).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class microsoft.exchange.webservices.data.search.filter.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyDefinitionBasegetOtherPropertyDefinition()Gets the definition of the property to compare with.ObjectgetValue()Gets the value of the property to compare with.protected StringgetXmlElementName()gets Xml Element name.protected voidinternalValidate()validates the instance.voidsetOtherPropertyDefinition(PropertyDefinitionBase OtherPropertyDefinition)Sets the definition of the property to compare with.voidsetValue(Object value)Sets the value of the property to compare with.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes the elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.search.filter.SearchFilter.PropertyBasedFilter
getPropertyDefinition, setPropertyDefinition
-
Methods inherited from class microsoft.exchange.webservices.data.search.filter.SearchFilter
loadFromXml, writeToXml
-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Method Detail
-
internalValidate
protected void internalValidate() throws ServiceValidationException
validates the instance.- Overrides:
internalValidatein classSearchFilter.PropertyBasedFilter- Throws:
ServiceValidationException- the service validation exception
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classSearchFilter.PropertyBasedFilter- Parameters:
reader- the reader- Returns:
- true if element was read
- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
Writes the elements to XML.- Overrides:
writeElementsToXmlin classSearchFilter.PropertyBasedFilter- Parameters:
writer- the writer- Throws:
XMLStreamException- , ServiceXmlSerializationExceptionServiceXmlSerializationException- 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 Object getValue()
Gets the value of the property to compare with.- Returns:
- the value
-
setValue
public void setValue(Object value)
Sets the value of the property to compare with.- Parameters:
value- the new value
-
getXmlElementName
protected String getXmlElementName()
gets Xml Element name.- Specified by:
getXmlElementNamein classSearchFilter- Returns:
- the xml element name
-
-