SMACS

smacs.load.schema
Interface DbSchemaTableList

All Known Subinterfaces:
DbSchemaList, DbSchemaTableStore
All Known Implementing Classes:
DbSchemaTableListNode

public interface DbSchemaTableList

DbSchema TableList operations.

There may be different containers that hold references to table definitions and search strategies to resolve table names into table definition instances.

Author:
Copyright (C) 2004, Guido Draheim. All rights reserved. Part of SMACS project.

Method Summary
 DbSchemaTable getTable(DbSchemaTableQName name)
          find the DbSchemaTable instance for the given qualified name.
 DbSchemaTable getTable(String name)
          find the DbSchemaTable instance for the given name.
 List getTableList()
          give us a list of references to DbSchemaTables.
 

Method Detail

getTable

public DbSchemaTable getTable(String name)
find the DbSchemaTable instance for the given name. This method call is supposed to use the best lookup strategy available for the instance, so the result might differ from an appliction that goes to serach through the list returned by getTableList()


getTable

public DbSchemaTable getTable(DbSchemaTableQName name)
find the DbSchemaTable instance for the given qualified name. This method call is supposed to use the best lookup strategy available for the instance, so the result might differ from an appliction that goes to serach through the list returned by getTableList()


getTableList

public List getTableList()
give us a list of references to DbSchemaTables. For a single DbSchema this contains a unique set of table names while in a DbSchemaList there may be multipe instances under the same table name. Only a qualified name would help.


SMACS