com.triactive.jdo.store.sql
Class MapTable

java.lang.Object
  extended bycom.triactive.jdo.store.sql.AbstractTable
      extended bycom.triactive.jdo.store.sql.BaseTable
          extended bycom.triactive.jdo.store.sql.FieldTable
              extended bycom.triactive.jdo.store.sql.MapTable
All Implemented Interfaces:
Table

public class MapTable
extends com.triactive.jdo.store.sql.FieldTable


Field Summary
protected  FieldMetaData fmd
           
 
Fields inherited from class com.triactive.jdo.store.sql.BaseTable
columnsByName, dba, name, state, TABLE_STATE_CONSTRAINTS_FROZEN, TABLE_STATE_CONSTRAINTS_INITIALIZED, 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
MapTable(TableName name, FieldMetaData fmd, DatabaseAdapter dba)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
protected  ColumnName getBaseColumnNameForType(java.lang.Class c, StoreManager storeMgr)
           
 ColumnMapping getKeyMapping()
           
 ColumnMapping getOwnerMapping()
           
 ColumnMapping getValueMapping()
           
 int hashCode()
           
 void initialize(StoreManager.MgmtTransaction mtx)
           
 void initializeConstraints(StoreManager.MgmtTransaction mtx)
           
 
Methods inherited from class com.triactive.jdo.store.sql.BaseTable
addCandidateKey, addColumn, addForeignKey, addIndex, assertConstraintsInitialized, assertConstraintsNotFrozen, assertConstraintsUninitialized, assertIsInitialized, assertIsUninitialized, assertIsValidated, constraintsFrozen, constraintsInitialized, create, drop, dropConstraints, exists, getDatabaseAdapter, getName, getSqlAddFKStatements, getSqlCreateIndexStatements, getSqlCreateStatements, getSqlDropStatements, hasColumnName, intern, isInitialized, isValidated, newColumn, newColumn, setPrimaryKey, toString, validate, validateConstraints
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fmd

protected final FieldMetaData fmd
Constructor Detail

MapTable

public MapTable(TableName name,
                FieldMetaData fmd,
                DatabaseAdapter dba)
Method Detail

initialize

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

initializeConstraints

public void initializeConstraints(StoreManager.MgmtTransaction mtx)
Overrides:
initializeConstraints in class BaseTable

getOwnerMapping

public ColumnMapping getOwnerMapping()

getKeyMapping

public ColumnMapping getKeyMapping()

getValueMapping

public ColumnMapping getValueMapping()

getBaseColumnNameForType

protected ColumnName getBaseColumnNameForType(java.lang.Class c,
                                              StoreManager storeMgr)

hashCode

public int hashCode()
Overrides:
hashCode in class BaseTable

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class BaseTable


Copyright 2001-2007 The TJDO Project All Rights Reserved.