From 2249aa0a04b99d513828d8d60c2a8bd7d936b336 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 03 Sep 2007 23:45:45 +0000
Subject: [PATCH] Fix issue 1451: constraint and dependency support.

---
 opends/src/server/org/opends/server/admin/Constraint.java |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/Constraint.java b/opends/src/server/org/opends/server/admin/Constraint.java
index 85af348..be8e4ca 100644
--- a/opends/src/server/org/opends/server/admin/Constraint.java
+++ b/opends/src/server/org/opends/server/admin/Constraint.java
@@ -31,6 +31,7 @@
 import java.util.Collection;
 
 import org.opends.server.admin.client.ClientConstraintHandler;
+import org.opends.server.admin.server.ServerConstraintHandler;
 
 
 
@@ -68,9 +69,23 @@
    * @return Returns the client-side constraint handlers which will be
    *         used to enforce this constraint in client applications.
    *         The returned collection must not be <code>null</code>
-   *         but maybe empty (indicating that the constrain can only
+   *         but maybe empty (indicating that the constraint can only
    *         be enforced on the server-side).
    */
   Collection<ClientConstraintHandler> getClientConstraintHandlers();
 
+
+
+  /**
+   * Gets the server-side constraint handlers which will be used to
+   * enforce this constraint within the server.
+   *
+   * @return Returns the server-side constraint handlers which will be
+   *         used to enforce this constraint within the server. The
+   *         returned collection must not be <code>null</code> and
+   *         must not be empty, since constraints must always be
+   *         enforced on the server.
+   */
+  Collection<ServerConstraintHandler> getServerConstraintHandlers();
+
 }

--
Gitblit v1.10.0