org.apache.directory.api.dsmlv2.request
Class NotFilter
java.lang.Object
org.apache.directory.api.dsmlv2.request.Filter
org.apache.directory.api.dsmlv2.request.ConnectorFilter
org.apache.directory.api.dsmlv2.request.NotFilter
public class NotFilter
- extends ConnectorFilter
Not Filter Object to store the Not filter.
- Author:
- Apache Directory Project
| Fields inherited from class org.apache.directory.api.dsmlv2.request.Filter |
parent |
|
Method Summary |
void |
addFilter(Filter filter)
Subclass the addFilterMethod, as this is specific for a NotFilter (we
cannot have more than one elements). |
Filter |
getNotFilter()
Get the NotFilter |
void |
setNotFilter(Filter notFilter)
Set the NotFilter |
String |
toString()
Return a string compliant with RFC 2254 representing a NOT filter |
NotFilter
public NotFilter()
addFilter
public void addFilter(Filter filter)
throws DecoderException
- Subclass the addFilterMethod, as this is specific for a NotFilter (we
cannot have more than one elements).
- Overrides:
addFilter in class ConnectorFilter
- Parameters:
filter - The Filter to add
- Throws:
DecoderException
getNotFilter
public Filter getNotFilter()
- Get the NotFilter
- Returns:
- Returns the notFilter.
setNotFilter
public void setNotFilter(Filter notFilter)
throws DecoderException
- Set the NotFilter
- Parameters:
notFilter - The notFilter to set.
- Throws:
DecoderException
toString
public String toString()
- Return a string compliant with RFC 2254 representing a NOT filter
- Overrides:
toString in class ConnectorFilter
- Returns:
- The NOT filter string
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.