Package org.forgerock.opendj.ldap
Class SubtreeSpecification.Refinement
java.lang.Object
org.forgerock.opendj.ldap.SubtreeSpecification.Refinement
- Direct Known Subclasses:
SubtreeSpecification.FilterRefinement
- Enclosing class:
- SubtreeSpecification
Abstract interface for RFC3672 specification filter refinements.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Create a new RFC3672 specification filter refinement. -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract int
hashCode()
abstract boolean
Check if the refinement matches the given entry.final String
toString()
abstract StringBuilder
toString
(StringBuilder builder) Append the string representation of the refinement to the provided string builder.
-
Constructor Details
-
Refinement
protected Refinement()Create a new RFC3672 specification filter refinement.
-
-
Method Details
-
equals
-
hashCode
public abstract int hashCode() -
matches
Check if the refinement matches the given entry.- Parameters:
entry
- the filterable entry.schema
- the schema to use- Returns:
- whether the entry matches the refinement
-
toString
-
toString
Append the string representation of the refinement to the provided string builder.- Parameters:
builder
- The string builder.- Returns:
- The string builder.
-