KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > patterns > mappeddata > persist > db > maxdb > MaxDBMappingDatabaseSchema


1 /*
2  * Copyright (c) 2006 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenSubsystems
5  *
6  * $Id: MaxDBMappingDatabaseSchema.java,v 1.5 2007/01/07 06:15:32 bastafidli Exp $
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; version 2 of the License.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */

21
22 package org.opensubsystems.patterns.mappeddata.persist.db.maxdb;
23
24 import org.opensubsystems.core.error.OSSException;
25 import org.opensubsystems.patterns.mappeddata.persist.db.sapdb.SapDBMappingDatabaseSchema;
26
27
28 /**
29  * Database specific operations related to persistence of mapping tables
30  * for MaxDB database.
31  *
32  * @version $Id: MaxDBMappingDatabaseSchema.java,v 1.5 2007/01/07 06:15:32 bastafidli Exp $
33  * @author Julian Legeny
34  * @code.reviewer Miro Halas
35  * @code.reviewed 1.3 2006/07/14 16:37:23 bastafidli
36  */

37 public class MaxDBMappingDatabaseSchema extends SapDBMappingDatabaseSchema
38 {
39    /**
40     * Full constructor.
41     *
42     * @param strMapTableName - table name for mapping table
43     * @param schema1 - schema name the table 1 was defined in
44     * @param strTableName1 - name of the table 1
45     * @param strColumnName1 - name of the column 1
46     * @param schema2 - schema name the table 2 was defined in
47     * @param strTableName2 - name of the table 2
48     * @param strColumnName2 - name of the column 2
49     * @throws OSSException - an error has occured
50     */

51    public MaxDBMappingDatabaseSchema(
52       String JavaDoc strMapTableName,
53       Class JavaDoc schema1,
54       String JavaDoc strTableName1,
55       String JavaDoc strColumnName1,
56       Class JavaDoc schema2,
57       String JavaDoc strTableName2,
58       String JavaDoc strColumnName2
59    ) throws OSSException
60    {
61       super(strMapTableName, schema1, strTableName1, strColumnName1,
62             schema2, strTableName2, strColumnName2);
63    }
64 }
65
Popular Tags