Class SubtreeSpecification.Refinement

java.lang.Object
org.forgerock.opendj.ldap.SubtreeSpecification.Refinement
Direct Known Subclasses:
SubtreeSpecification.FilterRefinement
Enclosing class:
SubtreeSpecification

public abstract static class SubtreeSpecification.Refinement extends Object
Abstract interface for RFC3672 specification filter refinements.
  • Constructor Details

    • Refinement

      protected Refinement()
      Create a new RFC3672 specification filter refinement.
  • Method Details

    • equals

      public abstract boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • matches

      public abstract boolean matches(Entry entry, Schema schema)
      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

      public final String toString()
      Overrides:
      toString in class Object
    • toString

      public abstract StringBuilder toString(StringBuilder builder)
      Append the string representation of the refinement to the provided string builder.
      Parameters:
      builder - The string builder.
      Returns:
      The string builder.