org.opensubsystems.inventory.persist.db
Class InventorySubsystemDatabaseSchema

java.lang.Object
  extended by org.opensubsystems.core.persist.db.DatabaseSchemaImpl
      extended by org.opensubsystems.inventory.persist.db.InventorySubsystemDatabaseSchema
All Implemented Interfaces:
org.opensubsystems.core.persist.db.DatabaseOperations, org.opensubsystems.core.persist.db.DatabaseSchema

public class InventorySubsystemDatabaseSchema
extends org.opensubsystems.core.persist.db.DatabaseSchemaImpl

This schema is dependent on all schemas from inventory subsystem. When you need to use inventory subsystem, simple add this schema to your database.

Version:
$Id: InventorySubsystemDatabaseSchema.java,v 1.9 2007/01/08 05:14:10 bastafidli Exp $
Author:
Martin Cerba
Code reviewer:
TODO: Review this code
Code reviewed:

Field Summary
static java.lang.String INVENTORY_SCHEMA_NAME
          Name identifies this schema in the database.
static int INVENTORY_SCHEMA_VERSION
          Version of this schema in the database.
 
Fields inherited from class org.opensubsystems.core.persist.db.DatabaseSchemaImpl
DATABASE_SCHEMA_PREFIX, DATABASE_SCHEMA_PREFIX_DEFAULT, m_arrDependentSchemas, m_bIsInDomain, m_iSchemaVersion, m_strSchemaName, NL
 
Fields inherited from interface org.opensubsystems.core.persist.db.DatabaseOperations
DBOP_DELETE, DBOP_INSERT, DBOP_SELECT, DBOP_UPDATE
 
Constructor Summary
InventorySubsystemDatabaseSchema()
          Default constructor.
 
Method Summary
 void create(java.sql.Connection cntDBConnection, java.lang.String strUserName)
          
 
Methods inherited from class org.opensubsystems.core.persist.db.DatabaseSchemaImpl
getDependentSchemas, getJoinFromWhere, getName, getOwnerColumnNames, getSchemaPrefix, getVersion, handleSQLException, isExistingIndex, isInDomain, upgrade, upgradeView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVENTORY_SCHEMA_NAME

public static final java.lang.String INVENTORY_SCHEMA_NAME
Name identifies this schema in the database.

See Also:
Constant Field Values

INVENTORY_SCHEMA_VERSION

public static final int INVENTORY_SCHEMA_VERSION
Version of this schema in the database.

See Also:
Constant Field Values
Constructor Detail

InventorySubsystemDatabaseSchema

public InventorySubsystemDatabaseSchema()
                                 throws org.opensubsystems.core.error.OSSException
Default constructor.

Throws:
org.opensubsystems.core.error.OSSException - - error occured.
Method Detail

create

public void create(java.sql.Connection cntDBConnection,
                   java.lang.String strUserName)
            throws java.sql.SQLException

Throws:
java.sql.SQLException


Copyright © 2003 - 2006 OpenSubsystems s.r.o.