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

Matthew Swift
11.58.2012 aad596c8559b3d3d081617736cdbeda1374f017b
opends/src/server/org/opends/server/api/AttributeSyntax.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions copyright 2012 ForgeRock AS.
 */
package org.opends.server.api;
import org.opends.messages.Message;
@@ -215,15 +216,24 @@
  /**
   * Indicates whether this attribute syntax is a binary one.
   * @return  {@code true} if it is a binary syntax rule
   *          , or {@code false} if not.
   * Indicates whether this attribute syntax requires BER encoding.
   *
   * @return {@code true} if this syntax required BER encoding.
   */
  public abstract boolean isBinary();
  /**
   * Indicates whether this attribute syntax is human readable.
   *
   * @return {@code true} if this syntax is human readable.
   */
  public abstract boolean isHumanReadable();
  /**
   * Retrieves the hash code for this attribute syntax.  It will be
   * calculated as the sum of the characters in the OID.
   *
@@ -273,7 +283,7 @@
      return false;
    }
    return getOID().equals(((AttributeSyntax) o).getOID());
    return getOID().equals(((AttributeSyntax<?>) o).getOID());
  }