KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > core > persist > db > maxdb > MaxDBDatabaseImpl


1 /*
2  * Copyright (c) 2005 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenSubsystems
5  *
6  * $Id: MaxDBDatabaseImpl.java,v 1.3 2007/01/07 06:14:38 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.core.persist.db.maxdb;
23
24 import org.opensubsystems.core.error.OSSException;
25 import org.opensubsystems.core.persist.db.DatabaseImpl;
26 import org.opensubsystems.core.persist.db.sapdb.SapDBDatabaseImpl;
27
28 /**
29  * Management layer for MaxDB database (http://www.mysql.com/products/maxdb/).
30  * Since MaxDB is rebranded SAP DB database, at this time it can reuse majority
31  * of the SAP DB functionality.
32  *
33  * @version $Id: MaxDBDatabaseImpl.java,v 1.3 2007/01/07 06:14:38 bastafidli Exp $
34  * @author Miro Halas
35  * @code.reviewer Miro Halas
36  * @code.reviewed Initial revision.
37  */

38 public class MaxDBDatabaseImpl extends SapDBDatabaseImpl
39 {
40    // Constructors /////////////////////////////////////////////////////////////
41

42    /**
43     * Default constructor for empty database.
44     *
45     * @throws OSSException - problem connecting to database
46     */

47    public MaxDBDatabaseImpl(
48    ) throws OSSException
49    {
50       super();
51    }
52
53    // Public methods ///////////////////////////////////////////////////////////
54

55    /**
56     * {@inheritDoc}
57     */

58    public int getDatabaseType()
59    {
60       return DatabaseImpl.MAXDB_DATABASE_TYPE;
61    }
62
63    /**
64     * {@inheritDoc}
65     */

66    public String JavaDoc getDatabaseTypeIdentifier()
67    {
68       return DatabaseImpl.MAXDB_DATABASE_TYPE_IDENTIFIER;
69    }
70 }
71
Popular Tags