|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.tools.schemaframework.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 |
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 |
dropPre25Constraints(DatabaseSession session) Deprecated. This method is only useful for the transition to TopLink for Java release 2.5. |
void |
dropPre25Constraints(DatabaseSession session, SchemaManager schemaManager) Deprecated. This method is only useful for the transition to TopLink for Java release 2.5. |
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 |
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 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 dropPre25Constraints(DatabaseSession session)
TableCreator#createTables()
public void dropPre25Constraints(DatabaseSession session, SchemaManager schemaManager)
TableCreator#createTables()
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 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 |