1 /*
2 * Created on 2003-5-21 22:29:53
3 *
4 * To change the template for this generated file go to
5 * Window>Preferences>Java>Code Generation>Code and Comments
6 */
7 package com.cyclops.dbdigger.schema;
8 /*** Database model interface
9 *
10 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a>
11 * @since 2003-5-21 22:29:53
12 */
13 public interface Database {
14 /*** Empty Database object array */
15 Database[] EMPTY_ARRAY = new Database[0];
16 /***@return Description of this database */
17 String getDescription();
18 /***@return Name of this database */
19 String getName();
20 /***@return Schema this database belong to */
21 Schema getSchema();
22 /***
23 * @param tableName Name of table to be find
24 * @return Find Table object by its name, null if not found
25 */
26 Table getTable(String tableName);
27 /***@return All table objects in this database */
28 Table[] getTables();
29 }
This page was automatically generated by Maven