public static class SearchFilter.ExcludesBitmask 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
Constructor and Description |
---|
ExcludesBitmask()
Initializes a new instance of the class.
|
ExcludesBitmask(PropertyDefinitionBase propertyDefinition,
int bitmask)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
int |
getBitmask()
Gets the bitmask to compare the property with.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setBitmask(int bitmask)
Sets the bitmask to compare the property with.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML.
|
getPropertyDefinition, internalValidate, setPropertyDefinition
loadFromXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
public ExcludesBitmask()
public ExcludesBitmask(PropertyDefinitionBase propertyDefinition, int bitmask)
propertyDefinition
- the property definitionbitmask
- the bitmaskpublic String getXmlElementName()
getXmlElementName
in class SearchFilter
public 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 int getBitmask()
public void setBitmask(int bitmask)
bitmask
- the new bitmaskCopyright © 2012–2015 Microsoft. All rights reserved.