Class NotFilter

java.lang.Object
org.ldaptive.filter.NotFilter
All Implemented Interfaces:
Filter, FilterSet

public class NotFilter extends Object implements FilterSet
Not search filter set defined as:
 (!(filter))
 
  • Field Details

    • HASH_CODE_SEED

      private static final int HASH_CODE_SEED
      hash code seed.
      See Also:
    • filterComponent

      private Filter filterComponent
      Component of this filter.
  • Constructor Details

    • NotFilter

      public NotFilter()
      Default constructor.
    • NotFilter

      public NotFilter(Filter component)
      Creates a new not filter.
      Parameters:
      component - of this filter
  • Method Details

    • getType

      public Filter.Type getType()
      Description copied from interface: FilterSet
      Returns the type of filter set.
      Specified by:
      getType in interface FilterSet
      Returns:
      type of filter set
    • add

      public void add(Filter component)
      Description copied from interface: FilterSet
      Adds a search filter to this set.
      Specified by:
      add in interface FilterSet
      Parameters:
      component - to add
    • getEncoder

      public DEREncoder getEncoder()
      Description copied from interface: Filter
      Returns the encoder for this filter.
      Specified by:
      getEncoder in interface Filter
      Returns:
      DER encoder
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object