|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.engine.db.DBRevEngine
public abstract class DBRevEngine
The DBRevEngine provides generic services for generating one or more persistent components from DB objects. Subclasses are expected to refine the behavior, providing customized codegen for building up EJB CMP objects, POJO's, or any other object type.
Field Summary | |
---|---|
protected boolean |
_logToSystemOut |
protected Namespace |
_ns |
protected java.io.PrintStream |
_printStream |
protected java.io.PrintWriter |
_printWriter |
protected Project |
_project |
protected java.util.Map |
_tablesMap |
Constructor Summary | |
---|---|
DBRevEngine() The DBRevEngine requires only a Namespace object to get the ball rolling. |
Method Summary | |
---|---|
protected abstract void |
addAllTablesInPersistenceUnitImpl(java.util.Map fullTableMap) Override to add tables in the persistence unit that were mapped previously or externally. |
protected abstract void |
addDataSourcesInPersistenceUnitImpl(DBObjectProvider db) |
java.util.List |
generateComponents(Namespace namespace) |
protected abstract java.util.List |
generateComponentsImpl() Main impl callout. |
protected void |
initializeFromNamespace(Namespace namespace) |
protected abstract void |
initializeFromNamespaceImpl() Initialize implementation-specific fields from the namespace. |
protected void |
initializeTables() Construct a DBTable object for each table, and then add entries to _tablesMap to map each table name to its DBTable object. |
protected void |
print(java.lang.String text) |
protected void |
println(java.lang.String text) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Namespace _ns
protected Project _project
protected boolean _logToSystemOut
protected java.io.PrintStream _printStream
protected java.io.PrintWriter _printWriter
protected java.util.Map _tablesMap
Constructor Detail |
---|
public DBRevEngine()
Method Detail |
---|
public java.util.List generateComponents(Namespace namespace)
protected abstract java.util.List generateComponentsImpl()
save
-protected void initializeFromNamespace(Namespace namespace)
protected abstract void initializeFromNamespaceImpl()
protected void initializeTables()
protected abstract void addAllTablesInPersistenceUnitImpl(java.util.Map fullTableMap)
fullTableMap
- the current table set for reverse engineering into Java objectsprotected void print(java.lang.String text)
protected void println(java.lang.String text)
protected abstract void addDataSourcesInPersistenceUnitImpl(DBObjectProvider db)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |