|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.ds.db.AbstractDBObjectBuilder
oracle.jdeveloper.cm.ds.db.DMDBuilder
Builds SchemaObjects based on information retrieved from an instance
of DatabaseMetaData
.
DatabaseMetaData
Constructor Summary | |
protected |
DMDBuilder(JdbcDatabase db,
java.lang.String catalog,
java.lang.String type,
boolean useSchema)
|
Method Summary | |
SchemaObject |
buildObject(DBObjectID id)
Builds a new SchemaObject instance, using the specified ID. |
SchemaObject |
buildObject(Schema schema,
java.lang.String name)
Builds a new SchemaObject instance. |
protected abstract SchemaObject |
buildObjectImpl(Schema schema,
java.lang.String name)
|
protected void |
fillInObject(SchemaObject object)
|
java.lang.String |
getCatalog()
|
java.sql.Connection |
getConnection()
|
JdbcDatabase |
getDatabase()
|
boolean |
isUseSchema()
|
java.lang.String[] |
listObjects(Schema schema,
java.lang.String ref)
Lists the names of the objects that can be provided by this builder. |
Methods inherited from class oracle.jdeveloper.cm.ds.db.AbstractDBObjectBuilder |
getObjectType, getTimestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DMDBuilder(JdbcDatabase db, java.lang.String catalog, java.lang.String type, boolean useSchema)
Method Detail |
public JdbcDatabase getDatabase()
public java.sql.Connection getConnection()
public boolean isUseSchema()
public java.lang.String getCatalog()
public final java.lang.String[] listObjects(Schema schema, java.lang.String ref) throws DBException
listObjects
in interface DBObjectBuilder
listObjects
in class AbstractDBObjectBuilder
schema
- a string containing the schema to look for objects inref
- a string containing a pattern that can used to match names;
a ref of null
indicates that all objects should
be returned
DBException
- if an error is encountered getting the listpublic final SchemaObject buildObject(DBObjectID id) throws DBException
DBObjectBuilder
buildObject
in interface DBObjectBuilder
buildObject
in class AbstractDBObjectBuilder
DBException
public final SchemaObject buildObject(Schema schema, java.lang.String name) throws DBException
DBObjectBuilder
buildObject
in interface DBObjectBuilder
buildObject
in class AbstractDBObjectBuilder
DBException
protected abstract SchemaObject buildObjectImpl(Schema schema, java.lang.String name) throws DBException
DBException
protected void fillInObject(SchemaObject object) throws DBException
DBException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.