Package | Description |
---|---|
oracle.ide.db.panels |
Reusable UI panels for listing, creating or editing database objects in dialogs
in the IDE.
|
oracle.javatools.db |
Contains a metadata API for describing database objects, and retrieving them
from a provider of database objects - for example a database.
|
oracle.javatools.db.ddl |
API for generating DDL in the database API.
|
oracle.javatools.db.extension |
Contains classes for extending the object support that comes as standard in
the database api (e.g.
|
Modifier and Type | Method and Description |
---|---|
static DDLGenerator |
DDLPanel.getDDLGenerator(DBEditorConfig config) |
Modifier and Type | Method and Description |
---|---|
DDLGenerator |
DBObjectProvider.getDDLGenerator()
Gets the DDLGenerator for this DBObjectProvider.
|
DDLGenerator |
AbstractDBObjectProvider.getDDLGenerator()
Gets the DDLGenerator for this provider.
|
DDLGenerator |
DatabaseDescriptor.getDDLGenerator(DBObjectProvider pro)
Gets a DDLGenerator that will generate DDL for the type of Database
represented by this descriptor, setup to work with the given provider.
|
Modifier and Type | Class and Description |
---|---|
class |
BundleDDLGenerator<T extends DDLType>
TokenDDLGenerator subclass that uses either a set of Properties files or
ResourceBundles with specially formatted keys to automatically register DDL
for generation.
|
class |
TokenDDLGenerator<T extends DDLType>
TokenDDLGenerator is DDLGenerator implementation that takes the registration
of "ddl code tokens" and registers
CreateDDLGenerator ,
DropDDLGenerator and AlterDDLGenerator with the superclass
as appropriate. |
Modifier and Type | Class and Description |
---|---|
class |
DelegateDDLGenerator
DDLGenerator implementation that delegates to another DDLGenerator for
all normal object types.
|
Modifier and Type | Method and Description |
---|---|
DDLGenerator |
DelegateDDLGenerator.getBaseGenerator()
Gets the base DDLGenerator that this will delegate to for any object
type that isn't from the DBObjectRegistry.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,DDLGenerator> |
DBObjectRegistry.getDDLGenerators(Database db) |
java.util.Map<java.lang.String,DDLGenerator> |
DBObjectRegistry.getDDLGenerators(java.lang.String dbType,
int version,
java.lang.Class<? extends Database> dbClz,
DBObjectProvider pro) |
Modifier and Type | Method and Description |
---|---|
void |
DBObjectRegistry.registerObject(java.lang.String objType,
DatabaseMatcher dbMatch,
java.lang.Class<? extends DBObjectValidator> validatorClz,
java.lang.Class<? extends DBObjectBuilder> builderClz,
java.lang.Class<? extends DBObjectLister> listClz,
java.lang.Class<? extends DDLGenerator> ddlGenClz)
Registers a new object type with the releveant components for making it
function within the API.
|
void |
DBObjectRegistry.registerObject(java.lang.String objType,
DatabaseMatcher dbMatch,
Thunk<java.lang.Class<? extends DBObjectValidator>> validatorClz,
Thunk<java.lang.Class<? extends DBObjectBuilder>> builderClz,
Thunk<java.lang.Class<? extends DBObjectLister>> listClz,
Thunk<java.lang.Class<? extends DDLGenerator>> ddlGenClz)
Registers a new object type with the releveant components for making it
function within the API.
|
Constructor and Description |
---|
DelegateDDLGenerator(DDLGenerator base,
DatabaseDescriptor desc,
java.lang.Class<? extends Database> databaseClass,
DBObjectProvider pro)
Constructs a DDLGenerator that will check the DBObjectRegistry for a
registered DDLGenerator to delegate to for a given object type, and if
there isn't one delegates to the base generator given on construction.
|