org.opensubsystems.core.persist.db
Class DatabaseTest2DatabaseFactory

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

public class DatabaseTest2DatabaseFactory
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: DatabaseTest2DatabaseFactory.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
DatabaseTest2DatabaseFactory()
           
 
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

DatabaseTest2DatabaseFactory

public DatabaseTest2DatabaseFactory()
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.