com.triactive.jdo.store
Class ClassView

java.lang.Object
  extended by com.triactive.jdo.store.AbstractTable
      extended by com.triactive.jdo.store.View
          extended by com.triactive.jdo.store.JDOView
              extended by com.triactive.jdo.store.ClassView
All Implemented Interfaces:
ClassTable, JDOTable, Table

public class ClassView
extends JDOView
implements ClassTable


Field Summary
 
Fields inherited from class com.triactive.jdo.store.JDOView
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
ClassView(TableMetadata tmd, ClassMetaData cmd, StoreManager storeMgr)
           
 
Method Summary
 ClassMetaData getClassMetaData()
           
 Mapping getFieldMapping(int fieldNumber)
           
 Mapping getFieldMapping(java.lang.String fieldName)
           
protected  java.util.List getSQLCreateStatements()
           
 java.lang.Class getType()
           
 void initialize()
           
 boolean isFieldPersistent(int fieldNumber)
           
protected  Column newColumn(FieldMetaData fmd)
           
 javax.jdo.Extent newExtent(PersistenceManager pm, boolean subclasses)
           
 
Methods inherited from class com.triactive.jdo.store.JDOView
getJavaName, getTableID, newOID
 
Methods inherited from class com.triactive.jdo.store.View
addColumn, create, drop, getSQLDropStatements, validate
 
Methods inherited from class com.triactive.jdo.store.AbstractTable
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

ClassView

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

initialize

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

getType

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

getClassMetaData

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

newColumn

protected Column newColumn(FieldMetaData fmd)

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

getSQLCreateStatements

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

newExtent

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


Copyright ? 2001 TriActive, Inc. All Rights Reserved.