|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.toplink.tools.schemaframework.TableCreator
public class TableCreator
Purpose: This class is reponsible for creating the tables defined in the project. A specific subclass of this class is created for each project. The specific table information is defined in the subclass.
Constructor Summary | |
---|---|
TableCreator()
|
|
TableCreator(java.util.Vector tableDefinitions)
|
Method Summary | |
---|---|
void |
addTableDefinition(TableDefinition tableDefinition)
Add the table. |
void |
addTableDefinitions(java.util.Collection tableDefs)
Add a set of tables. |
void |
createConstraints(DatabaseSession session)
Create constraints. |
void |
createConstraints(DatabaseSession session,
SchemaManager schemaManager)
Create constraints. |
void |
createTables(DatabaseSession session)
This creates the tables on the database. |
void |
createTables(DatabaseSession session,
SchemaManager schemaManager)
This creates the tables on the database. |
void |
dropConstraints(DatabaseSession session)
Drop the table constraints from the database. |
void |
dropConstraints(DatabaseSession session,
SchemaManager schemaManager)
Drop the table constraints from the database. |
void |
dropTables(DatabaseSession session)
Drop the tables from the database. |
void |
dropTables(DatabaseSession session,
SchemaManager schemaManager)
Drop the tables from the database. |
java.lang.String |
getName()
Return the name. |
java.util.Vector |
getTableDefinitions()
Return the tables. |
void |
replaceTables(DatabaseSession session)
Recreate the tables on the database. |
void |
replaceTables(DatabaseSession session,
SchemaManager schemaManager)
Recreate the tables on the database. |
void |
replaceTables(DatabaseSession session,
SchemaManager schemaManager,
boolean keepSequenceTable)
Recreate the tables on the database. |
void |
setName(java.lang.String name)
Set the name. |
void |
setTableDefinitions(java.util.Vector tableDefinitions)
Set the tables. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableCreator()
public TableCreator(java.util.Vector tableDefinitions)
Method Detail |
---|
public void addTableDefinition(TableDefinition tableDefinition)
public void addTableDefinitions(java.util.Collection tableDefs)
public void createConstraints(DatabaseSession session)
public void createConstraints(DatabaseSession session, SchemaManager schemaManager)
public void createTables(DatabaseSession session)
public void createTables(DatabaseSession session, SchemaManager schemaManager)
public void dropConstraints(DatabaseSession session)
public void dropConstraints(DatabaseSession session, SchemaManager schemaManager)
public void dropTables(DatabaseSession session)
public void dropTables(DatabaseSession session, SchemaManager schemaManager)
public java.lang.String getName()
public java.util.Vector getTableDefinitions()
public void replaceTables(DatabaseSession session)
public void replaceTables(DatabaseSession session, SchemaManager schemaManager)
public void replaceTables(DatabaseSession session, SchemaManager schemaManager, boolean keepSequenceTable)
public void setName(java.lang.String name)
public void setTableDefinitions(java.util.Vector tableDefinitions)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |