org.apache.directory.api.dsmlv2.request
Class NotFilter

java.lang.Object
  extended by org.apache.directory.api.dsmlv2.request.Filter
      extended by org.apache.directory.api.dsmlv2.request.ConnectorFilter
          extended by org.apache.directory.api.dsmlv2.request.NotFilter

public class NotFilter
extends ConnectorFilter

Not Filter Object to store the Not filter.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.dsmlv2.request.ConnectorFilter
filterSet
 
Fields inherited from class org.apache.directory.api.dsmlv2.request.Filter
parent
 
Constructor Summary
NotFilter()
           
 
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
 
Methods inherited from class org.apache.directory.api.dsmlv2.request.ConnectorFilter
getFilterSet
 
Methods inherited from class org.apache.directory.api.dsmlv2.request.Filter
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotFilter

public NotFilter()
Method Detail

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.