1 /*
2 * Created on 2003-5-21 22:32:39
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 /***
9 * Table model interface
10 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a>
11 * @since 2003-5-21 22:32:39
12 */
13 public interface Table {
14 /*** Empty Table object array */
15 Table[] EMPTY_ARRAY = new Table[0];
16 /***
17 * Get a Column object by its name
18 * @param columnName Name of the column object
19 * @return The found Column object, null if not found
20 */
21 Column getColumn(String columnName);
22 /***@return All Column objects in this Table */
23 Column[] getColumns();
24 /***@return Database object this Table belong to */
25 Database getDatabase();
26 /***@return Name of this Table in Database */
27 String getName();
28 /***@return Java class name of this Table */
29 String getJavaClassName();
30 /***@return Primary key Column object, null if no primary key */
31 Column getPrimaryKey();
32 /***@return Description of this Table */
33 String getDescription();
34 }
This page was automatically generated by Maven