com.triactive.jdo.store
Class BaseTable
java.lang.Object
com.triactive.jdo.store.AbstractTable
com.triactive.jdo.store.BaseTable
- All Implemented Interfaces:
- Table
- Direct Known Subclasses:
- JDOBaseTable, ProbeTable, SchemaTable
abstract class BaseTable
- extends AbstractTable
Methods inherited from class com.triactive.jdo.store.AbstractTable |
addColumn, assertIsInitialized, assertIsUninitialized, assertIsValidated, equals, executeStatementList, exists, getName, getSchemaName, getStoreManager, hasColumnName, hashCode, isInitialized, isValidated, newColumn, newColumn, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BaseTable
public BaseTable(StoreManager storeMgr)
BaseTable
public BaseTable(SQLIdentifier name,
StoreManager storeMgr)
getExpectedPrimaryKey
public PrimaryKey getExpectedPrimaryKey()
create
public void create(java.sql.Connection conn)
throws java.sql.SQLException
- Specified by:
create
in interface Table
- Overrides:
create
in class AbstractTable
- Throws:
java.sql.SQLException
validate
public boolean validate(int flags,
java.sql.Connection conn)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
validateConstraints
public boolean validateConstraints(int flags,
java.sql.Connection conn)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
drop
public void drop(java.sql.Connection conn)
throws java.sql.SQLException
- Specified by:
drop
in interface Table
- Overrides:
drop
in class AbstractTable
- Throws:
java.sql.SQLException
dropConstraints
public void dropConstraints(java.sql.Connection conn)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getExpectedForeignKeys
protected java.util.List getExpectedForeignKeys()
getExpectedIndices
protected java.util.Set getExpectedIndices()
getSQLCreateStatements
protected java.util.List getSQLCreateStatements()
- Specified by:
getSQLCreateStatements
in class AbstractTable
getSQLAddFKStatements
protected java.util.Map getSQLAddFKStatements(java.util.Map actualForeignKeysByName)
getSQLCreateIndexStatements
protected java.util.Map getSQLCreateIndexStatements(java.util.Map actualIndicesByName)
getSQLDropStatements
protected java.util.List getSQLDropStatements()
- Specified by:
getSQLDropStatements
in class AbstractTable
Copyright ? 2001 TriActive, Inc. All Rights Reserved.