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

Jean-Noel Rouvignac
14.30.2014 dd9c5d6a0520fec68fa12485a4da033f84840930
opendj3-server-dev/src/server/org/opends/server/api/AbstractMatchingRule.java
@@ -32,6 +32,8 @@
import org.forgerock.opendj.ldap.ByteSequence;
import org.forgerock.opendj.ldap.ByteString;
import org.forgerock.opendj.ldap.schema.Schema;
import org.forgerock.opendj.ldap.schema.Syntax;
import org.opends.server.types.ConditionResult;
import org.opends.server.types.DirectoryException;
@@ -54,22 +56,6 @@
   * {@inheritDoc}
   */
  @Override
  public abstract Collection<String> getNames();
  /**
   * {@inheritDoc}
   */
  @Override
  public abstract String getOID();
  /**
   * {@inheritDoc}
   */
  @Override
  public ByteString normalizeAssertionValue(ByteSequence value)
      throws DirectoryException
  {
@@ -93,27 +79,23 @@
    return getOID();
  }
  /**
   * {@inheritDoc}
   * Retrieves the OID of the syntax with which this matching rule is
   * associated.
   *
   * @return The OID of the syntax with which this matching rule is
   *         associated.
   */
  @Override
  public abstract String getDescription();
  /**
   * {@inheritDoc}
   */
  @Override
  public abstract String getSyntaxOID();
  /** {@inheritDoc} */
  @Override
  public Syntax getSyntax()
  {
    return Schema.getCoreSchema().getSyntax(getSyntaxOID());
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  @Override
  public boolean isObsolete()
  {
@@ -262,7 +244,7 @@
      buffer.append(" SYNTAX ");
    }
    buffer.append(getSyntaxOID());
    buffer.append(getSyntax().getOID());
    buffer.append(" )");
  }
}