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

jvergara
16.25.2009 391c56175d771b919d1b2db3e88cec42ed5e75c0
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/BackendDescriptor.java
@@ -45,6 +45,7 @@
  private int entries;
  private boolean isConfigBackend;
  private boolean isEnabled;
  private CustomSearchResult monitoringEntry;
  private Type type;
  private int hashCode;
@@ -186,6 +187,19 @@
        {
          equals = desc.getVLVIndexes().equals(getVLVIndexes());
        }
        if (equals)
        {
          // Compare monitoring entries
          if (getMonitoringEntry() == null)
          {
            equals = desc.getMonitoringEntry() == null;
          }
          else
          {
            equals = getMonitoringEntry().equals(desc.getMonitoringEntry());
          }
        }
      }
    }
    else
@@ -196,6 +210,15 @@
  }
  /**
   * Returns the monitoring entry information.
   * @return the monitoring entry information.
   */
  public CustomSearchResult getMonitoringEntry()
  {
    return monitoringEntry;
  }
  /**
   * {@inheritDoc}
   */
  public int hashCode()
@@ -290,6 +313,15 @@
  }
  /**
   * Sets the monitoring entry corresponding to this backend.
   * @param monitoringEntry the monitoring entry corresponding to this backend.
   */
  public void setMonitoringEntry(CustomSearchResult monitoringEntry)
  {
    this.monitoringEntry = monitoringEntry;
  }
  /**
   * Returns the type of the backend.
   * @return the type of the backend.
   */