Package org.ldaptive.filter
Class AbstractAttributeValueAssertionFilter
java.lang.Object
org.ldaptive.filter.AbstractAttributeValueAssertionFilter
- All Implemented Interfaces:
Filter
- Direct Known Subclasses:
ApproximateFilter
,EqualityFilter
,GreaterOrEqualFilter
,LessOrEqualFilter
Base class for attribute value assertion filters.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byte[]
Attribute value.protected final String
Attribute description.protected final Filter.Type
Type of filter. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAttributeValueAssertionFilter
(Filter.Type type, String name, byte[] value) Creates a new abstract attribute value assertion filter. -
Method Summary
-
Field Details
-
filterType
Type of filter. -
attributeDesc
Attribute description. -
assertionValue
protected final byte[] assertionValueAttribute value.
-
-
Constructor Details
-
AbstractAttributeValueAssertionFilter
Creates a new abstract attribute value assertion filter.- Parameters:
type
- of filtername
- attribute descriptionvalue
- attribute value
-
-
Method Details
-
getAttributeDesc
Returns the attribute description.- Returns:
- attribute description
-
getAssertionValue
public byte[] getAssertionValue()Returns the assertion value.- Returns:
- assertion value
-
getEncoder
Description copied from interface:Filter
Returns the encoder for this filter.- Specified by:
getEncoder
in interfaceFilter
- Returns:
- DER encoder
-
equals
-
hashCode
public abstract int hashCode() -
toString
-