|
|||||||||||
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
An abstract Syntax class.
Field Summary |
Fields inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
description, isObsolete, names, oid |
Constructor Summary | |
protected |
AbstractSyntax(java.lang.String oid)
Creates a Syntax object using a unique OID. |
protected |
AbstractSyntax(java.lang.String oid,
boolean isHumanReadible)
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 isHumanReadible)
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 |
isHumanReadible()
Gets whether or not the Syntax is human readible. |
protected void |
setHumanReadible(boolean isHumanReadible)
Sets the human readible flag value. |
Methods inherited from class org.apache.directory.shared.ldap.schema.AbstractSchemaObject |
getDescription, getName, getNames, getOid, isObsolete, setDescription, setNames, setObsolete, 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, getNames, getOid, isObsolete |
Constructor Detail |
protected AbstractSyntax(java.lang.String oid)
oid
- the OID for this Syntaxprotected AbstractSyntax(java.lang.String oid, boolean isHumanReadible)
oid
- the OID for this SyntaxisHumanReadible
- whether or not Syntax is human readibleprotected AbstractSyntax(java.lang.String oid, java.lang.String description)
oid
- the OID for this Syntaxdescription
- the description for this Syntaxprotected AbstractSyntax(java.lang.String oid, java.lang.String description, boolean isHumanReadible)
oid
- the OID for this SyntaxisHumanReadible
- whether or not Syntax is human readibledescription
- the description for this SyntaxMethod Detail |
public final boolean isHumanReadible()
Syntax
isHumanReadible
in interface Syntax
Syntax.isHumanReadible()
protected void setHumanReadible(boolean isHumanReadible)
isHumanReadible
- the human readible flag value to setpublic int hashCode()
hashCode
in class AbstractSchemaObject
public boolean equals(java.lang.Object obj)
equals
in class AbstractSchemaObject
obj
- the object to test for equality
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |