From 9898c1656694000aa090269e7b9889894cf2f063 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 07 May 2012 10:20:21 +0000
Subject: [PATCH] Fix OPENDJ-484: Implement equals and hashCode for SDK schema elements

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/SchemaElement.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/SchemaElement.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/SchemaElement.java
index ca496d6..dd53688 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/SchemaElement.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/schema/SchemaElement.java
@@ -58,6 +58,11 @@
     }
 
     /**
+     * {@inheritDoc}
+     */
+    public abstract boolean equals(Object obj);
+
+    /**
      * Returns the description of this schema definition.
      *
      * @return The description of this schema definition.
@@ -97,6 +102,16 @@
     }
 
     /**
+     * {@inheritDoc}
+     */
+    public abstract int hashCode();
+
+    /**
+     * {@inheritDoc}
+     */
+    public abstract String toString();
+
+    /**
      * Builds a string representation of this schema definition in the form
      * specified in RFC 2252.
      *

--
Gitblit v1.10.0