public abstract class LoadableSchemaObject extends AbstractSchemaObject
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification
Modifier | Constructor and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 |
registerOid(SchemaObject schemaObject,
Registries registries)
Register the given SchemaObject into the given registries' globalOidRegistry
|
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
|
addExtension, addName, addToRegistries, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification
protected LoadableSchemaObject(SchemaObjectType objectType, String oid)
objectType
- The SchemaObject typeoid
- The SchemaObject OIDprotected LoadableSchemaObject(SchemaObjectType objectType)
objectType
- The SchemaObject typepublic String getBytecode()
public void setBytecode(String bytecode)
bytecode
- The bytecode to storepublic void setFqcn(String fqcn)
fqcn
- The Fully Qualified Class Namepublic void registerOid(SchemaObject schemaObject, Registries registries) throws LdapException
registerOid
in interface SchemaObject
registerOid
in class AbstractSchemaObject
schemaObject
- the SchemaObject we want to registerregistries
- The registries in which we want it to be storedLdapException
- If the OID is invalidpublic LoadableSchemaObject copy()
copy
in interface SchemaObject
copy
in class AbstractSchemaObject
public boolean equals(Object o)
equals
in interface SchemaObject
equals
in class AbstractSchemaObject
public boolean isValid()
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.