org.opensubsystems.core.persist.db
Class DatabaseTestDatabaseFactory

java.lang.Object
  extended by org.opensubsystems.core.persist.db.DatabaseTestDatabaseFactory
All Implemented Interfaces:
DatabaseTestFactory, org.opensubsystems.core.persist.DataFactory, org.opensubsystems.core.persist.db.DatabaseFactory

public class DatabaseTestDatabaseFactory
extends java.lang.Object
implements DatabaseTestFactory, org.opensubsystems.core.persist.db.DatabaseFactory

This factory is here just to test that we can correctly instantiate database factories.

Version:
$Id: DatabaseTestDatabaseFactory.java,v 1.6 2007/01/28 06:54:43 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
Initial revision

Constructor Summary
DatabaseTestDatabaseFactory()
           
 
Method Summary
 org.opensubsystems.core.data.DataObject get(int iId, int iDomainId)
          
 int getDataType()
          
 org.opensubsystems.core.data.DataObject load(java.sql.ResultSet rsQueryResults, int initialIndex)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseTestDatabaseFactory

public DatabaseTestDatabaseFactory()
Method Detail

load

public org.opensubsystems.core.data.DataObject load(java.sql.ResultSet rsQueryResults,
                                                    int initialIndex)
                                             throws org.opensubsystems.core.error.OSSDatabaseAccessException

Specified by:
load in interface org.opensubsystems.core.persist.db.DatabaseFactory
Throws:
org.opensubsystems.core.error.OSSDatabaseAccessException

get

public org.opensubsystems.core.data.DataObject get(int iId,
                                                   int iDomainId)
                                            throws org.opensubsystems.core.error.OSSException

Specified by:
get in interface org.opensubsystems.core.persist.DataFactory
Throws:
org.opensubsystems.core.error.OSSException

getDataType

public int getDataType()

Specified by:
getDataType in interface org.opensubsystems.core.persist.DataFactory


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