com.triactive.jdo.store.sql
Class ClassView

java.lang.Object
  extended bycom.triactive.jdo.store.sql.AbstractTable
      extended bycom.triactive.jdo.store.sql.View
          extended bycom.triactive.jdo.store.sql.ClassView
All Implemented Interfaces:
ClassTable, Table

public class ClassView
extends View
implements ClassTable


Field Summary
 
Fields inherited from class com.triactive.jdo.store.sql.View
columnsByName, dba, name, state, TABLE_STATE_INITIALIZED, TABLE_STATE_NEW, TABLE_STATE_VALIDATED
 
Fields inherited from interface com.triactive.jdo.store.sql.Table
TABLE_TYPE_BASE_TABLE, TABLE_TYPE_MISSING, TABLE_TYPE_UNKNOWN, TABLE_TYPE_VIEW
 
Constructor Summary
ClassView(TableName name, ClassMetaData cmd, DatabaseAdapter dba)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ClassMetaData getClassMetaData()
           
 Mapping getFieldMapping(int fieldNumber)
           
 Mapping getFieldMapping(java.lang.String fieldName)
           
protected  java.util.List getSqlCreateStatements(StoreManager.MgmtTransaction mtx)
           
 java.lang.Class getType()
           
 int hashCode()
           
 void initialize(StoreManager.MgmtTransaction mtx)
           
 boolean isFieldPersistent(int fieldNumber)
           
 javax.jdo.Extent newExtent(PersistenceManager pm, boolean subclasses)
           
 OIDGenerator newOIDGenerator(int classID)
           
 
Methods inherited from class com.triactive.jdo.store.sql.View
addColumn, assertIsInitialized, assertIsUninitialized, assertIsValidated, create, drop, exists, getDatabaseAdapter, getName, getSqlDropStatements, hasColumnName, intern, isInitialized, isValidated, newColumn, newColumn, toString, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.triactive.jdo.store.sql.Table
addColumn, create, drop, exists, getDatabaseAdapter, getName, intern, isInitialized, isValidated, newColumn, newColumn, validate
 

Constructor Detail

ClassView

public ClassView(TableName name,
                 ClassMetaData cmd,
                 DatabaseAdapter dba)
Method Detail

initialize

public void initialize(StoreManager.MgmtTransaction mtx)
Specified by:
initialize in interface Table
Overrides:
initialize in class View

getType

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

getClassMetaData

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

newOIDGenerator

public OIDGenerator newOIDGenerator(int classID)
Specified by:
newOIDGenerator in interface ClassTable

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(StoreManager.MgmtTransaction mtx)
Overrides:
getSqlCreateStatements in class View

newExtent

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

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)


Copyright © 2001-2007 The TJDO Project All Rights Reserved.