01: /*
02: * This is free software, licensed under the Gnu Public License (GPL)
03: * get a copy from <http://www.gnu.org/licenses/gpl.html>
04: * @version $Id: SQLMetaData.java,v 1.4 2004/06/07 08:31:56 hzeller Exp $
05: * @author <a href="mailto:martin.grotzke@javakaffee.de">Martin Grotzke</a>
06: */
07: package henplus;
08:
09: import henplus.sqlmodel.Table;
10:
11: import java.util.SortedSet;
12: import java.util.TreeSet;
13:
14: public final class SQLMetaData {
15: public static final int NOT_INITIALIZED = -1;
16:
17: private SortedSet/*<Table>*/_tables;
18:
19: public SQLMetaData() {
20: _tables = new TreeSet();
21: }
22:
23: public SortedSet/*<Table>*/getTables() {
24: return _tables;
25: }
26:
27: public void addTable(Table table) {
28: _tables.add(table);
29: }
30: }
|