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 FilterfilterComponentComponent of this filter.private static intHASH_CODE_SEEDhash code seed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Filter component)Adds a search filter to this set.booleanequals(Object o)FiltergetComponent()Returns the component of this filter.DEREncodergetEncoder()Returns the encoder for this filter.Filter.TypegetType()Returns the type of filter set.inthashCode()StringtoString()
-
-
-
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:FilterSetReturns the type of filter set.
-
add
public void add(Filter component)
Description copied from interface:FilterSetAdds 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:FilterReturns the encoder for this filter.- Specified by:
getEncoderin interfaceFilter- Returns:
- DER encoder
-
-