|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.schema.AbstractSchemaObject
org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
public abstract class LoadableSchemaObject
An abstract class used to manage the ADS specific SchemaObject, which can contain some compiled Java class to implement the specific logic.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
|---|
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
| Constructor Summary | |
|---|---|
protected |
LoadableSchemaObject(SchemaObjectType objectType)
Constructor to use when the OID is not known until after instantiation. |
protected |
LoadableSchemaObject(SchemaObjectType objectType,
String oid)
Constructor to use when the OID is known in advance. |
| Method Summary | |
|---|---|
LoadableSchemaObject |
copy()
Copy the current SchemaObject on place |
boolean |
equals(Object o)
|
String |
getBytecode()
|
String |
getFqcn()
|
boolean |
isValid()
Test that the FQCN is equal to the instance's name. |
void |
setBytecode(String bytecode)
Stores some bytecode representing the compiled Java class for this SchemaObject instance. |
void |
setFqcn(String fqcn)
Set the Fully Qualified Class Name for this SchemaObject instance class stored in the bytecode attribute |
| Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
|---|
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected LoadableSchemaObject(SchemaObjectType objectType,
String oid)
objectType - The SchemaObject typeoid - The SchemaObject OIDprotected LoadableSchemaObject(SchemaObjectType objectType)
objectType - The SchemaObject type| Method Detail |
|---|
public String getBytecode()
public void setBytecode(String bytecode)
bytecode - The bytecode to storepublic String getFqcn()
public void setFqcn(String fqcn)
fqcn - The Fully Qualified Class Namepublic LoadableSchemaObject copy()
copy in interface SchemaObjectcopy in class AbstractSchemaObjectpublic boolean equals(Object o)
equals in interface SchemaObjectequals in class AbstractSchemaObjectpublic boolean isValid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||