1 |
14
|
jones
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
2 |
|
|
<!--NewPage-->
|
3 |
|
|
<html>
|
4 |
|
|
<head>
|
5 |
|
|
<!-- Generated by javadoc on Fri Sep 24 03:23:03 CEST 1999 -->
|
6 |
|
|
<title>
|
7 |
|
|
Class de.tudarmstadt.ito.xmldbms.Table
|
8 |
|
|
</title>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<a name="_top_"></a>
|
12 |
|
|
<pre>
|
13 |
|
|
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-de.tudarmstadt.ito.xmldbms.html">This Package</a> <a href="de.tudarmstadt.ito.xmldbms.RootTableMap.html#_top_">Previous</a> <a href="de.tudarmstadt.ito.xmldbms.TableMap.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre>
|
14 |
|
|
<hr>
|
15 |
|
|
<h1>
|
16 |
|
|
Class de.tudarmstadt.ito.xmldbms.Table
|
17 |
|
|
</h1>
|
18 |
|
|
<pre>
|
19 |
|
|
java.lang.Object
|
20 |
|
|
|
|
21 |
|
|
+----de.tudarmstadt.ito.xmldbms.Table
|
22 |
|
|
</pre>
|
23 |
|
|
<hr>
|
24 |
|
|
<dl>
|
25 |
|
|
<dt> public class <b>Table</b>
|
26 |
|
|
<dt> extends Object
|
27 |
|
|
</dl>
|
28 |
|
|
Describes a table; <A HREF="../readme.html#NotForUse">not for general
|
29 |
|
|
use</A>.
|
30 |
|
|
<P>Table contains information about a table. Tables are included in
|
31 |
|
|
TableMaps and in the array of tables in Map.</P>
|
32 |
|
|
<p>
|
33 |
|
|
<hr>
|
34 |
|
|
<a name="index"></a>
|
35 |
|
|
<h2>
|
36 |
|
|
<img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
|
37 |
|
|
</h2>
|
38 |
|
|
<dl>
|
39 |
|
|
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
|
40 |
|
|
<a href="#columns"><b>columns</b></a>
|
41 |
|
|
<dd> An array of Columns describing the columns in the table.
|
42 |
|
|
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
|
43 |
|
|
<a href="#name"><b>name</b></a>
|
44 |
|
|
<dd> The table name.
|
45 |
|
|
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
|
46 |
|
|
<a href="#number"><b>number</b></a>
|
47 |
|
|
<dd> The table number.
|
48 |
|
|
</dl>
|
49 |
|
|
<h2>
|
50 |
|
|
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
|
51 |
|
|
</h2>
|
52 |
|
|
<dl>
|
53 |
|
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
54 |
|
|
<a href="#Table()"><b>Table</b></a>()
|
55 |
|
|
<dd> Construct a Table.
|
56 |
|
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
57 |
|
|
<a href="#Table(de.tudarmstadt.ito.xmldbms.Column[], java.lang.String, int)"><b>Table</b></a>(Column[], String, int)
|
58 |
|
|
<dd> Construct a Table with the specified Columns, name, and number.
|
59 |
|
|
</dl>
|
60 |
|
|
<h2>
|
61 |
|
|
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
|
62 |
|
|
</h2>
|
63 |
|
|
<dl>
|
64 |
|
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
65 |
|
|
<a href="#getColumn(java.lang.String)"><b>getColumn</b></a>(String)
|
66 |
|
|
<dd> Get a Column object for the named column.
|
67 |
|
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
68 |
|
|
<a href="#getColumns(java.lang.String[])"><b>getColumns</b></a>(String[])
|
69 |
|
|
<dd> Get an array of Column objects for the named columns.
|
70 |
|
|
</dl>
|
71 |
|
|
<a name="variables"></a>
|
72 |
|
|
<h2>
|
73 |
|
|
<img src="images/variables.gif" width=153 height=38 alt="Variables">
|
74 |
|
|
</h2>
|
75 |
|
|
<a name="columns"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
|
76 |
|
|
<b>columns</b>
|
77 |
|
|
<pre>
|
78 |
|
|
public <a href="de.tudarmstadt.ito.xmldbms.Column.html#_top_">Column</a> columns[]
|
79 |
|
|
</pre>
|
80 |
|
|
<dl>
|
81 |
|
|
<dd> An array of Columns describing the columns in the table.<p>
|
82 |
|
|
</dl>
|
83 |
|
|
<a name="name"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
|
84 |
|
|
<b>name</b>
|
85 |
|
|
<pre>
|
86 |
|
|
public String name
|
87 |
|
|
</pre>
|
88 |
|
|
<dl>
|
89 |
|
|
<dd> The table name.<p>
|
90 |
|
|
</dl>
|
91 |
|
|
<a name="number"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
|
92 |
|
|
<b>number</b>
|
93 |
|
|
<pre>
|
94 |
|
|
public int number
|
95 |
|
|
</pre>
|
96 |
|
|
<dl>
|
97 |
|
|
<dd> The table number. Table numbers are 0-based.<p>
|
98 |
|
|
</dl>
|
99 |
|
|
<a name="constructors"></a>
|
100 |
|
|
<h2>
|
101 |
|
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
102 |
|
|
</h2>
|
103 |
|
|
<a name="Table"></a>
|
104 |
|
|
<a name="Table()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
105 |
|
|
<b>Table</b>
|
106 |
|
|
<pre>
|
107 |
|
|
public Table()
|
108 |
|
|
</pre>
|
109 |
|
|
<dl>
|
110 |
|
|
<dd> Construct a Table.
|
111 |
|
|
<p>
|
112 |
|
|
</dl>
|
113 |
|
|
<a name="Table(de.tudarmstadt.ito.xmldbms.Column[], java.lang.String, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
114 |
|
|
<b>Table</b>
|
115 |
|
|
<pre>
|
116 |
|
|
public Table(<a href="de.tudarmstadt.ito.xmldbms.Column.html#_top_">Column</a> columns[],
|
117 |
|
|
String name,
|
118 |
|
|
int number)
|
119 |
|
|
</pre>
|
120 |
|
|
<dl>
|
121 |
|
|
<dd> Construct a Table with the specified Columns, name, and number.
|
122 |
|
|
<p>
|
123 |
|
|
</dl>
|
124 |
|
|
<a name="methods"></a>
|
125 |
|
|
<h2>
|
126 |
|
|
<img src="images/methods.gif" width=151 height=38 alt="Methods">
|
127 |
|
|
</h2>
|
128 |
|
|
<a name="getColumns(java.lang.String[])"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
129 |
|
|
<a name="getColumns"><b>getColumns</b></a>
|
130 |
|
|
<pre>
|
131 |
|
|
public <a href="de.tudarmstadt.ito.xmldbms.Column.html#_top_">Column</a>[] getColumns(String columnNames[]) throws <a href="de.tudarmstadt.ito.xmldbms.InvalidMapException.html#_top_">InvalidMapException</a>
|
132 |
|
|
</pre>
|
133 |
|
|
<dl>
|
134 |
|
|
<dd> Get an array of Column objects for the named columns. Note that this
|
135 |
|
|
method is not efficient, performing a linear search for each column.
|
136 |
|
|
<p>
|
137 |
|
|
<dd><dl>
|
138 |
|
|
<dt> <b>Parameters:</b>
|
139 |
|
|
<dd> columnNames - Names of the columns to find. If this is null,
|
140 |
|
|
getColumns returns a null.
|
141 |
|
|
<dt> <b>Returns:</b>
|
142 |
|
|
<dd> An array of Column objects for the specified columns.
|
143 |
|
|
<dt> <b>Throws:</b> <a href="de.tudarmstadt.ito.xmldbms.InvalidMapException.html#_top_">InvalidMapException</a>
|
144 |
|
|
<dd> Thrown if any columns are not found.
|
145 |
|
|
</dl></dd>
|
146 |
|
|
</dl>
|
147 |
|
|
<a name="getColumn(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
148 |
|
|
<a name="getColumn"><b>getColumn</b></a>
|
149 |
|
|
<pre>
|
150 |
|
|
public <a href="de.tudarmstadt.ito.xmldbms.Column.html#_top_">Column</a> getColumn(String columnName) throws <a href="de.tudarmstadt.ito.xmldbms.InvalidMapException.html#_top_">InvalidMapException</a>
|
151 |
|
|
</pre>
|
152 |
|
|
<dl>
|
153 |
|
|
<dd> Get a Column object for the named column. Note that this method is not
|
154 |
|
|
efficient, performing a linear search for the column.
|
155 |
|
|
<p>
|
156 |
|
|
<dd><dl>
|
157 |
|
|
<dt> <b>Parameters:</b>
|
158 |
|
|
<dd> columnName - Name of the column to find. If this is null, getColumn
|
159 |
|
|
returns a null.
|
160 |
|
|
<dt> <b>Returns:</b>
|
161 |
|
|
<dd> Column object for the specified column.
|
162 |
|
|
<dt> <b>Throws:</b> <a href="de.tudarmstadt.ito.xmldbms.InvalidMapException.html#_top_">InvalidMapException</a>
|
163 |
|
|
<dd> Thrown if the column is not found.
|
164 |
|
|
</dl></dd>
|
165 |
|
|
</dl>
|
166 |
|
|
<hr>
|
167 |
|
|
<pre>
|
168 |
|
|
<a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-de.tudarmstadt.ito.xmldbms.html">This Package</a> <a href="de.tudarmstadt.ito.xmldbms.RootTableMap.html#_top_">Previous</a> <a href="de.tudarmstadt.ito.xmldbms.TableMap.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre>
|
169 |
|
|
</body>
|
170 |
|
|
</html>
|