com.cyclops.dbdigger.schema
Interface Database

All Known Implementing Classes:
BaseDefaultDatabase, DefaultDatabase

public interface Database

Database model interface

Since:
2003-5-21 22:29:53
Author:
joel guo

Field Summary
static Database[] EMPTY_ARRAY
          Empty Database object array
 
Method Summary
 String getDescription()
           
 String getName()
           
 Schema getSchema()
           
 Table getTable(String tableName)
           
 Table[] getTables()
           
 

Field Detail

EMPTY_ARRAY

public static final Database[] EMPTY_ARRAY
Empty Database object array

Method Detail

getDescription

public String getDescription()
Returns:
Description of this database

getName

public String getName()
Returns:
Name of this database

getSchema

public Schema getSchema()
Returns:
Schema this database belong to

getTable

public Table getTable(String tableName)
Parameters:
tableName - Name of table to be find
Returns:
Find Table object by its name, null if not found

getTables

public Table[] getTables()
Returns:
All table objects in this database


Copyright © 2003 Cyclops Group. All Rights Reserved.