Extension SDK 10.1.3.36.73

oracle.javatools.db
Class AbstractDBObjectBuilder

java.lang.Object
  extended byoracle.javatools.db.AbstractDBObjectBuilder
All Implemented Interfaces:
DBObjectBuilder
Direct Known Subclasses:
DMDBuilder, oracle.javatools.db.ora.OracleDBObjectBuilder

public abstract class AbstractDBObjectBuilder
extends java.lang.Object
implements DBObjectBuilder


Constructor Summary
protected AbstractDBObjectBuilder(AbstractDBObjectProvider pro, java.lang.String type)
           
 
Method Summary
 void buildObject(SchemaObject object)
          Requests that the specified object be completed.
abstract  SchemaObject createObject(java.lang.String name, Schema schema, DBObjectID id)
          Requests the creation of a new SchemaObject of the type built by this DBObjectBuilder instance.
protected  java.lang.String getObjectType()
           
protected  void sqlTrace(java.lang.String query, java.lang.Object[] params)
          Tracing method to print out SQL that is about to be executed against the db.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDBObjectBuilder

protected AbstractDBObjectBuilder(AbstractDBObjectProvider pro,
                                  java.lang.String type)
Method Detail

sqlTrace

protected void sqlTrace(java.lang.String query,
                        java.lang.Object[] params)
Tracing method to print out SQL that is about to be executed against the db.


getObjectType

protected java.lang.String getObjectType()

createObject

public abstract SchemaObject createObject(java.lang.String name,
                                          Schema schema,
                                          DBObjectID id)
Description copied from interface: DBObjectBuilder
Requests the creation of a new SchemaObject of the type built by this DBObjectBuilder instance.

Specified by:
createObject in interface DBObjectBuilder
Parameters:
name - The name of the new object
schema - The schema containing the new object
id - the DBObjectID for the new object
Returns:
The newly created object

buildObject

public void buildObject(SchemaObject object)
                 throws DBException
Description copied from interface: DBObjectBuilder
Requests that the specified object be completed. The object should be completely initialized after the call completes.

Specified by:
buildObject in interface DBObjectBuilder
Parameters:
object - The object needing building
Throws:
DBException - if an error occurs trying to build the object

Extension SDK 10.1.3.36.73

 

Copyright © 1997, 2005, Oracle.All rights reserved.