|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.schema.AbstractSchemaObject
org.apache.directory.shared.ldap.schema.AbstractSyntax
public abstract class AbstractSyntax
An abstract Syntax class.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
|---|
description, isObsolete, names, oid, schema |
| Constructor Summary | |
|---|---|
protected |
AbstractSyntax(java.lang.String oid)
Creates a Syntax object using a unique OID. |
protected |
AbstractSyntax(java.lang.String oid,
boolean isHumanReadable)
Creates a Syntax object using a unique OID. |
protected |
AbstractSyntax(java.lang.String oid,
java.lang.String description)
Creates a Syntax object using a unique OID. |
protected |
AbstractSyntax(java.lang.String oid,
java.lang.String description,
boolean isHumanReadable)
Creates a Syntax object using a unique OID. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
If the object implements Syntax and has the same OID as this Syntax then they are equal. |
int |
hashCode()
Based on the hashCode of the oid property. |
boolean |
isHumanReadable()
Gets whether or not the Syntax is human readable. |
protected void |
setHumanReadable(boolean isHumanReadable)
Sets the human readable flag value. |
| Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
|---|
getDescription, getName, getNamesRef, getOid, getSchema, isObsolete, setDescription, setNames, setObsolete, setSchema, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.schema.Syntax |
|---|
getSyntaxChecker |
| Methods inherited from interface org.apache.directory.shared.ldap.schema.SchemaObject |
|---|
getDescription, getName, getNamesRef, getOid, getSchema, isObsolete, setSchema |
| Constructor Detail |
|---|
protected AbstractSyntax(java.lang.String oid)
oid - the OID for this Syntax
protected AbstractSyntax(java.lang.String oid,
boolean isHumanReadable)
oid - the OID for this SyntaxisHumanReadable - whether or not Syntax is human readable
protected AbstractSyntax(java.lang.String oid,
java.lang.String description)
oid - the OID for this Syntaxdescription - the description for this Syntax
protected AbstractSyntax(java.lang.String oid,
java.lang.String description,
boolean isHumanReadable)
oid - the OID for this SyntaxisHumanReadable - whether or not Syntax is human readabledescription - the description for this Syntax| Method Detail |
|---|
public final boolean isHumanReadable()
Syntax
isHumanReadable in interface SyntaxSyntax.isHumanReadable()protected void setHumanReadable(boolean isHumanReadable)
isHumanReadable - the human readable flag value to setpublic int hashCode()
hashCode in class AbstractSchemaObjectpublic boolean equals(java.lang.Object obj)
equals in class AbstractSchemaObjectobj - the object to test for equality
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||