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

matthew_swift
28.47.2010 f2160f4bd1c8ac67e5a86a6710d431e8932877f9
sdk/src/org/opends/sdk/schema/MatchingRuleImpl.java
@@ -39,30 +39,30 @@
/**
 * This interface defines the set of methods that must be implemented to
 * define a new matching rule.
 * This interface defines the set of methods that must be implemented to define
 * a new matching rule.
 */
public interface MatchingRuleImpl
{
  /**
   * Get a comparator that can be used to compare the attribute values
   * normalized by this matching rule.
   *
   *
   * @param schema
   *          The schema in which this matching rule is defined.
   * @return A comparator that can be used to compare the attribute
   *         values normalized by this matching rule.
   * @return A comparator that can be used to compare the attribute values
   *         normalized by this matching rule.
   */
  public Comparator<ByteSequence> comparator(Schema schema);
  /**
   * Retrieves the normalized form of the provided assertion value,
   * which is best suite for efficiently performing matching operations
   * on that value. The assertion value is guarenteed to be valid
   * against this matching rule's assertion syntax.
   *
   * Retrieves the normalized form of the provided assertion value, which is
   * best suite for efficiently performing matching operations on that value.
   * The assertion value is guarenteed to be valid against this matching rule's
   * assertion syntax.
   *
   * @param schema
   *          The schema in which this matching rule is defined.
   * @param value
@@ -77,21 +77,21 @@
  /**
   * Retrieves the normalized form of the provided assertion substring
   * values, which is best suite for efficiently performing matching
   * operations on that value.
   *
   * Retrieves the normalized form of the provided assertion substring values,
   * which is best suite for efficiently performing matching operations on that
   * value.
   *
   * @param schema
   *          The schema in which this matching rule is defined.
   * @param subInitial
   *          The normalized substring value fragment that should appear
   *          at the beginning of the target value.
   *          The normalized substring value fragment that should appear at the
   *          beginning of the target value.
   * @param subAnyElements
   *          The normalized substring value fragments that should
   *          appear in the middle of the target value.
   *          The normalized substring value fragments that should appear in the
   *          middle of the target value.
   * @param subFinal
   *          The normalized substring value fragment that should appear
   *          at the end of the target value.
   *          The normalized substring value fragment that should appear at the
   *          end of the target value.
   * @return The normalized version of the provided assertion value.
   * @throws DecodeException
   *           if an syntax error occured while parsing the value.
@@ -103,12 +103,11 @@
  /**
   * Retrieves the normalized form of the provided assertion value,
   * which is best suite for efficiently performing greater than or
   * equal matching operations on that value. The assertion value is
   * guarenteed to be valid against this matching rule's assertion
   * syntax.
   *
   * Retrieves the normalized form of the provided assertion value, which is
   * best suite for efficiently performing greater than or equal matching
   * operations on that value. The assertion value is guarenteed to be valid
   * against this matching rule's assertion syntax.
   *
   * @param schema
   *          The schema in which this matching rule is defined.
   * @param value
@@ -117,18 +116,17 @@
   * @throws DecodeException
   *           if an syntax error occured while parsing the value.
   */
  public Assertion getGreaterOrEqualAssertion(Schema schema,
      ByteSequence value) throws DecodeException;
  public Assertion getGreaterOrEqualAssertion(Schema schema, ByteSequence value)
      throws DecodeException;
  /**
   * Retrieves the normalized form of the provided assertion value,
   * which is best suite for efficiently performing greater than or
   * equal matching operations on that value. The assertion value is
   * guarenteed to be valid against this matching rule's assertion
   * syntax.
   *
   * Retrieves the normalized form of the provided assertion value, which is
   * best suite for efficiently performing greater than or equal matching
   * operations on that value. The assertion value is guarenteed to be valid
   * against this matching rule's assertion syntax.
   *
   * @param schema
   *          The schema in which this matching rule is defined.
   * @param value
@@ -137,16 +135,15 @@
   * @throws DecodeException
   *           if an syntax error occured while parsing the value.
   */
  public Assertion getLessOrEqualAssertion(Schema schema,
      ByteSequence value) throws DecodeException;
  public Assertion getLessOrEqualAssertion(Schema schema, ByteSequence value)
      throws DecodeException;
  /**
   * Retrieves the normalized form of the provided attribute value,
   * which is best suite for efficiently performing matching operations
   * on that value.
   *
   * Retrieves the normalized form of the provided attribute value, which is
   * best suite for efficiently performing matching operations on that value.
   *
   * @param schema
   *          The schema in which this matching rule is defined.
   * @param value
@@ -155,6 +152,6 @@
   * @throws DecodeException
   *           if an syntax error occured while parsing the value.
   */
  public ByteString normalizeAttributeValue(Schema schema,
      ByteSequence value) throws DecodeException;
  public ByteString normalizeAttributeValue(Schema schema, ByteSequence value)
      throws DecodeException;
}