public abstract class LoadableSchemaObject extends AbstractSchemaObject
| Modifier and Type | Field and Description |
|---|---|
private String |
bytecode
The base64 encoded bytecode for this schema
|
private String |
fqcn
The Full Qualified Class Name
|
private static long |
serialVersionUID
The serial version UID
|
description, extensions, h, isEnabled, isObsolete, 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() |
int |
hashCode() |
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, computeHashCode, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockprivate static final long serialVersionUID
private String fqcn
private String bytecode
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 String getFqcn()
public void setFqcn(String fqcn)
fqcn - The Fully Qualified Class Namepublic LoadableSchemaObject copy()
public int hashCode()
hashCode in interface SchemaObjecthashCode in class AbstractSchemaObjectpublic boolean equals(Object o)
equals in interface SchemaObjectequals in class AbstractSchemaObjectpublic boolean isValid()
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.