Tuscany DAS for Relational Databases

org.apache.tuscany.das.rdb.graphbuilder.impl
Class SingleTableRegistry

java.lang.Object
  extended by org.apache.tuscany.das.rdb.graphbuilder.impl.SingleTableRegistry
All Implemented Interfaces:
TableRegistry

public class SingleTableRegistry
extends java.lang.Object
implements TableRegistry


Constructor Summary
SingleTableRegistry()
           
 
Method Summary
 boolean contains(java.lang.String name, java.util.List list)
           
 commonj.sdo.DataObject get(java.lang.String tableName, java.util.List primaryKey)
          Get the table with the specified name and primary key
 void put(java.lang.String tableName, java.util.List primaryKey, commonj.sdo.DataObject value)
          Add the table with the specified name and primary key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleTableRegistry

public SingleTableRegistry()
Method Detail

get

public commonj.sdo.DataObject get(java.lang.String tableName,
                                  java.util.List primaryKey)
Description copied from interface: TableRegistry
Get the table with the specified name and primary key

Specified by:
get in interface TableRegistry
Returns:
EDataObject

put

public void put(java.lang.String tableName,
                java.util.List primaryKey,
                commonj.sdo.DataObject value)
Description copied from interface: TableRegistry
Add the table with the specified name and primary key

Specified by:
put in interface TableRegistry

contains

public boolean contains(java.lang.String name,
                        java.util.List list)
Specified by:
contains in interface TableRegistry

Tuscany DAS for Relational Databases

-