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

matthew_swift
04.45.2007 2249aa0a04b99d513828d8d60c2a8bd7d936b336
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();
}