org.opends.server.core
Class RFC3672SubtreeSpecification.Refinement

java.lang.Object
  extended by org.opends.server.core.RFC3672SubtreeSpecification.Refinement
Direct Known Subclasses:
RFC3672SubtreeSpecification.AndRefinement, RFC3672SubtreeSpecification.ItemRefinement, RFC3672SubtreeSpecification.NotRefinement, RFC3672SubtreeSpecification.OrRefinement
Enclosing class:
RFC3672SubtreeSpecification

public abstract static class RFC3672SubtreeSpecification.Refinement
extends java.lang.Object

Abstract interface for RFC3672 specification filter refinements.


Constructor Summary
protected RFC3672SubtreeSpecification.Refinement()
          Create a new RFC3672 specification filter refinement.
 
Method Summary
abstract  boolean equals(java.lang.Object obj)
          
abstract  int hashCode()
          
abstract  boolean matches(Entry entry)
          Check if the refinement matches the given entry.
 java.lang.String toString()
          
abstract  java.lang.StringBuilder toString(java.lang.StringBuilder builder)
          Append the string representation of the refinement to the provided string builder.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RFC3672SubtreeSpecification.Refinement

protected RFC3672SubtreeSpecification.Refinement()
Create a new RFC3672 specification filter refinement.

Method Detail

matches

public abstract boolean matches(Entry entry)
Check if the refinement matches the given entry.

Parameters:
entry - The filterable entry.
Returns:
Returns true if the entry matches the refinement, or false otherwise.

toString

public final java.lang.String toString()

Overrides:
toString in class java.lang.Object

toString

public abstract java.lang.StringBuilder toString(java.lang.StringBuilder builder)
Append the string representation of the refinement to the provided string builder.

Parameters:
builder - The string builder.
Returns:
The string builder.

equals

public abstract boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public abstract int hashCode()

Overrides:
hashCode in class java.lang.Object