From dd9c5d6a0520fec68fa12485a4da033f84840930 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 14 Feb 2014 09:30:43 +0000
Subject: [PATCH] OPENDJ-1308 Migrate schema support

---
 opendj3-server-dev/src/server/org/opends/server/api/MatchingRule.java |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/api/MatchingRule.java b/opendj3-server-dev/src/server/org/opends/server/api/MatchingRule.java
index 7e13154..5439bad 100644
--- a/opendj3-server-dev/src/server/org/opends/server/api/MatchingRule.java
+++ b/opendj3-server-dev/src/server/org/opends/server/api/MatchingRule.java
@@ -32,6 +32,7 @@
 
 import org.forgerock.opendj.ldap.ByteSequence;
 import org.forgerock.opendj.ldap.ByteString;
+import org.forgerock.opendj.ldap.schema.Syntax;
 import org.opends.server.types.ConditionResult;
 import org.opends.server.types.DirectoryException;
 
@@ -103,16 +104,12 @@
    */
   String getDescription();
 
-
-
   /**
-   * Retrieves the OID of the syntax with which this matching rule is
-   * associated.
+   * Whole class to be replaced by the equivalent SDK class.
    *
-   * @return The OID of the syntax with which this matching rule is
-   *         associated.
+   * @return SDK syntax
    */
-  String getSyntaxOID();
+  Syntax getSyntax();
 
 
 

--
Gitblit v1.10.0