com.triactive.jdo.store
Class View

java.lang.Object
  extended by com.triactive.jdo.store.AbstractTable
      extended by com.triactive.jdo.store.View
All Implemented Interfaces:
Table
Direct Known Subclasses:
JDOView

abstract class View
extends AbstractTable


Field Summary
 
Fields inherited from class com.triactive.jdo.store.AbstractTable
columns, columnsByName, dba, name, state, storeMgr, TABLE_STATE_INITIALIZED, TABLE_STATE_NEW, TABLE_STATE_VALIDATED
 
Fields inherited from interface com.triactive.jdo.store.Table
AUTO_CREATE, TABLE_TYPE_BASE_TABLE, TABLE_TYPE_MISSING, TABLE_TYPE_UNKNOWN, TABLE_TYPE_VIEW, VALIDATE
 
Constructor Summary
View(SQLIdentifier name, StoreManager storeMgr)
           
View(StoreManager storeMgr)
           
 
Method Summary
 void addColumn(Column col)
           
 void create(java.sql.Connection conn)
           
 void drop(java.sql.Connection conn)
           
protected  java.util.List getSQLDropStatements()
           
 boolean validate(int flags, java.sql.Connection conn)
           
 
Methods inherited from class com.triactive.jdo.store.AbstractTable
assertIsInitialized, assertIsUninitialized, assertIsValidated, equals, executeStatementList, exists, getName, getSchemaName, getSQLCreateStatements, getStoreManager, hasColumnName, hashCode, isInitialized, isValidated, newColumn, newColumn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.triactive.jdo.store.Table
initialize
 

Constructor Detail

View

public View(StoreManager storeMgr)

View

public View(SQLIdentifier name,
            StoreManager storeMgr)
Method Detail

addColumn

public void addColumn(Column col)
Specified by:
addColumn in interface Table
Overrides:
addColumn in class AbstractTable

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

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

getSQLDropStatements

protected java.util.List getSQLDropStatements()
Specified by:
getSQLDropStatements in class AbstractTable


Copyright ? 2001 TriActive, Inc. All Rights Reserved.