|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 |
Type | Method |
---|---|
void |
addTableDefinition(TableDefinition tableDefinition)
Add the table. |
void |
createConstraints(DatabaseSession session)
Create constraints. |
void |
createTables(DatabaseSession session)
This creates the tables on the database. |
void |
dropConstraints(DatabaseSession session)
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 |
dropTables(DatabaseSession session)
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 |
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 createTables(DatabaseSession session)
public void dropConstraints(DatabaseSession session)
public void dropPre25Constraints(DatabaseSession session)
TableCreator#createTables()
public void dropTables(DatabaseSession session)
public java.lang.String getName()
public java.util.Vector getTableDefinitions()
public void replaceTables(DatabaseSession session)
public void setName(java.lang.String name)
public void setTableDefinitions(java.util.Vector tableDefinitions)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |