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 |
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, 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
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 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.