KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > sqls > db2 > DB2Table


1 /*
2  * Copyright 2003, 2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15
16  */

17 package org.apache.ws.jaxme.sqls.db2;
18
19 import org.apache.ws.jaxme.sqls.Table;
20
21
22 /** <p>Interface of a table in a DB2 database.</p>
23  *
24  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
25  */

26 public interface DB2Table extends Table {
27   /** <p>Sets the {@link TableSpace}, in which the table should be
28    * created physically. Null, if the database may choose a
29    * {@link TableSpace}.</p>
30    */

31   public void setTableSpace(TableSpace pTableSpace);
32
33   /** <p>Returns the {@link TableSpace}, in which the table should be
34    * created physically. Null, if the database may choose a
35    * {@link TableSpace}.</p>
36    */

37   public TableSpace getTableSpace();
38
39   /** <p>Sets the {@link TableSpace}, in which the tables indexes
40    * should be created physically. Null, if the tables
41    * main {@link TableSpace} should be choosen.</p>
42    */

43   public void setIndexTableSpace(TableSpace pTableSpace);
44
45   /** <p>Returns the {@link TableSpace}, in which the tables
46    * indexes should be created physically. Null, if the tables
47    * main {@link TableSpace} should be choosen.</p>
48    */

49   public TableSpace getIndexTableSpace();
50
51   /** <p>Sets the {@link TableSpace}, in which the tables indexes
52    * should be created physically. Null, if the tables
53    * main {@link TableSpace} should be choosen.</p>
54    */

55   public void setLongTableSpace(TableSpace pTableSpace);
56
57   /** <p>Returns the {@link TableSpace}, in which the tables
58    * LOB data should be physically stored. Null, if the tables
59    * main {@link TableSpace} should be choosen.</p>
60    */

61   public TableSpace getLongTableSpace();
62 }
63
Popular Tags