public abstract static class SearchFilter.RelationalFilter extends SearchFilter.PropertyBasedFilter
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
Modifier and Type | Method and Description |
---|---|
PropertyDefinitionBase |
getOtherPropertyDefinition()
Gets the definition of the property to compare with.
|
Object |
getValue()
Gets the value of the property to compare with.
|
protected 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(Object value)
Sets the value of the property to compare with.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML.
|
getPropertyDefinition, setPropertyDefinition
loadFromXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
protected void internalValidate() throws ServiceValidationException
internalValidate
in class SearchFilter.PropertyBasedFilter
ServiceValidationException
- the service validation exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class SearchFilter.PropertyBasedFilter
reader
- the readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class SearchFilter.PropertyBasedFilter
writer
- the writerXMLStreamException
- , ServiceXmlSerializationExceptionServiceXmlSerializationException
- the service xml serialization exceptionpublic PropertyDefinitionBase getOtherPropertyDefinition()
public void setOtherPropertyDefinition(PropertyDefinitionBase OtherPropertyDefinition)
OtherPropertyDefinition
- the new other property definitionpublic Object getValue()
public void setValue(Object value)
value
- the new valueprotected String getXmlElementName()
getXmlElementName
in class SearchFilter
Copyright © 2012–2015 Microsoft. All rights reserved.