| | |
| | | * |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.api; |
| | | import org.opends.messages.Message; |
| | |
| | | |
| | | |
| | | /** |
| | | * 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. |
| | | * |
| | |
| | | return false; |
| | | } |
| | | |
| | | return getOID().equals(((AttributeSyntax) o).getOID()); |
| | | return getOID().equals(((AttributeSyntax<?>) o).getOID()); |
| | | } |
| | | |
| | | |