mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
16.32.2006 5097fbda6e7c1b26da60721455eae79e1cf1920e
opends/src/server/org/opends/server/tools/LDAPSearchOptions.java
@@ -56,6 +56,7 @@
  private int sizeLimit = 0;
  private int timeLimit = 0;
  private boolean typesOnly = false;
  private boolean countMatchingEntries = false;
  /**
   * Creates the options instance.
@@ -228,5 +229,30 @@
    this.typesOnly = typesOnly;
  }
  /**
   * Indicates whether to report the number of matching entries returned by the
   * server.
   *
   * @return  {@code true} if the number of matching entries should be reported,
   *          or {@code false} if not.
   */
  public boolean countMatchingEntries()
  {
    return countMatchingEntries;
  }
  /**
   * Specifies whether to report the number of matching entries returned by the
   * server.
   *
   * @param  countMatchingEntries  Specifies whether to report the number of
   *                               matching entries returned by the server.
   */
  public void setCountMatchingEntries(boolean countMatchingEntries)
  {
    this.countMatchingEntries = countMatchingEntries;
  }
}