com.triactive.jdo.store
Class ClassBaseTable

java.lang.Object
  extended by com.triactive.jdo.store.AbstractTable
      extended by com.triactive.jdo.store.BaseTable
          extended by com.triactive.jdo.store.JDOBaseTable
              extended by com.triactive.jdo.store.ClassBaseTable
All Implemented Interfaces:
ClassTable, JDOTable, Table

public class ClassBaseTable
extends JDOBaseTable
implements ClassTable


Field Summary
 
Fields inherited from class com.triactive.jdo.store.JDOBaseTable
javaName, tableID
 
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
ClassBaseTable(TableMetadata tmd, ClassMetaData cmd, StoreManager storeMgr)
           
 
Method Summary
 void delete(StateManager sm)
           
 void fetch(StateManager sm, int[] fieldNumbers)
           
 ClassMetaData getClassMetaData()
           
protected  java.util.List getExpectedForeignKeys()
           
 Mapping getFieldMapping(int fieldNumber)
           
 Mapping getFieldMapping(java.lang.String fieldName)
           
 ColumnMapping getIDMapping()
           
protected  java.util.List getSQLCreateStatements()
           
 ClassBaseTable getSupertable()
           
 java.lang.Class getType()
           
 void initialize()
           
 void insert(StateManager sm)
           
 boolean isFieldPersistent(int fieldNumber)
           
 Column newColumn(int relativeFieldNumber)
           
 javax.jdo.Extent newExtent(PersistenceManager pm, boolean subclasses)
           
 void update(StateManager sm, int[] fieldNumbers)
           
 
Methods inherited from class com.triactive.jdo.store.JDOBaseTable
getJavaName, getTableID, newOID
 
Methods inherited from class com.triactive.jdo.store.BaseTable
create, drop, dropConstraints, getExpectedIndices, getExpectedPrimaryKey, getSQLAddFKStatements, getSQLCreateIndexStatements, getSQLDropStatements, validate, validateConstraints
 
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
 
Methods inherited from interface com.triactive.jdo.store.JDOTable
getJavaName, getTableID, newOID
 
Methods inherited from interface com.triactive.jdo.store.Table
addColumn, create, drop, exists, getName, getSchemaName, getStoreManager, isInitialized, isValidated, newColumn, newColumn, validate
 

Constructor Detail

ClassBaseTable

ClassBaseTable(TableMetadata tmd,
               ClassMetaData cmd,
               StoreManager storeMgr)
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface Table
Overrides:
initialize in class JDOBaseTable

getType

public java.lang.Class getType()
Specified by:
getType in interface ClassTable

getClassMetaData

public ClassMetaData getClassMetaData()
Specified by:
getClassMetaData in interface ClassTable

getExpectedForeignKeys

protected java.util.List getExpectedForeignKeys()
Overrides:
getExpectedForeignKeys in class BaseTable

getSQLCreateStatements

protected java.util.List getSQLCreateStatements()
Overrides:
getSQLCreateStatements in class BaseTable

newColumn

public Column newColumn(int relativeFieldNumber)

getSupertable

public ClassBaseTable getSupertable()

getIDMapping

public ColumnMapping getIDMapping()

isFieldPersistent

public boolean isFieldPersistent(int fieldNumber)
Specified by:
isFieldPersistent in interface ClassTable

getFieldMapping

public Mapping getFieldMapping(int fieldNumber)
Specified by:
getFieldMapping in interface ClassTable

getFieldMapping

public Mapping getFieldMapping(java.lang.String fieldName)
Specified by:
getFieldMapping in interface ClassTable

newExtent

public javax.jdo.Extent newExtent(PersistenceManager pm,
                                  boolean subclasses)
Specified by:
newExtent in interface ClassTable

insert

public void insert(StateManager sm)

fetch

public void fetch(StateManager sm,
                  int[] fieldNumbers)

update

public void update(StateManager sm,
                   int[] fieldNumbers)

delete

public void delete(StateManager sm)


Copyright ? 2001 TriActive, Inc. All Rights Reserved.