public static class SearchFilter.Not extends SearchFilter implements IComplexPropertyChangedDelegate
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
Constructor and Description |
---|
Not()
Initializes a new instance of the class.
|
Not(SearchFilter searchFilter)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
void |
complexPropertyChanged(ComplexProperty complexProperty)
Complex property changed.
|
SearchFilter |
getSearchFilter()
Gets the search filter to negate.
|
protected String |
getXmlElementName()
Gets the name of the XML element.
|
protected void |
internalValidate()
validates the instance.
|
void |
setSearchFilter(SearchFilter searchFilter)
Sets the search filter to negate.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML.
|
loadFromXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
public Not()
public Not(SearchFilter searchFilter)
searchFilter
- the search filterprotected void internalValidate() throws ServiceValidationException
internalValidate
in class ComplexProperty
ServiceValidationException
- the service validation exceptionprotected String getXmlElementName()
getXmlElementName
in class SearchFilter
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- the writerException
- the exceptionpublic SearchFilter getSearchFilter()
public void setSearchFilter(SearchFilter searchFilter)
searchFilter
- the new search filterpublic void complexPropertyChanged(ComplexProperty complexProperty)
IComplexPropertyChangedDelegate
complexPropertyChanged
in interface IComplexPropertyChangedDelegate
complexProperty
- the complex propertyCopyright © 2012–2015 Microsoft. All rights reserved.