Package org.ldaptive.filter
Class NotFilter
- java.lang.Object
-
- org.ldaptive.filter.NotFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
-
Field Summary
Fields Modifier and Type Field Description private Filter
filterComponent
Component of this filter.private static int
HASH_CODE_SEED
hash code seed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Filter component)
Adds a search filter to this set.boolean
equals(Object o)
Filter
getComponent()
Returns the component of this filter.DEREncoder
getEncoder()
Returns the encoder for this filter.Filter.Type
getType()
Returns the type of filter set.int
hashCode()
String
toString()
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
filterComponent
private Filter filterComponent
Component of this filter.
-
-
Constructor Detail
-
NotFilter
public NotFilter()
Default constructor.
-
NotFilter
public NotFilter(Filter component)
Creates a new not filter.- Parameters:
component
- of this filter
-
-
Method Detail
-
getType
public Filter.Type getType()
Description copied from interface:FilterSet
Returns the type of filter set.
-
add
public void add(Filter component)
Description copied from interface:FilterSet
Adds a search filter to this set.
-
getComponent
public Filter getComponent()
Returns the component of this filter.- Returns:
- filter component
-
getEncoder
public DEREncoder getEncoder()
Description copied from interface:Filter
Returns the encoder for this filter.- Specified by:
getEncoder
in interfaceFilter
- Returns:
- DER encoder
-
-