jstorm.factory
Class MockDatabase

java.lang.Object
  |
  +--jstorm.factory.MockDatabase
All Implemented Interfaces:
IDatabase

public class MockDatabase
extends java.lang.Object
implements IDatabase

Insert the type's description here. Creation date: (7/3/2001 11:13:34 AM)


Constructor Summary
MockDatabase()
          MockDatabase constructor comment.
 
Method Summary
 void addReturnObject(StorableObject object)
          Insert the method's description here.
 void addReturnObjects(java.util.Vector newReturnObjects)
          Insert the method's description here.
 java.util.Collection doAggregateSelect(Mapping first, Mapping second, java.lang.String field1, java.lang.String field2)
          Insert the method's description here.
 java.util.Collection doAggregateSelect(Mapping first, Mapping second, java.lang.String field1, java.lang.String field2, java.lang.String whereClause)
          Insert the method's description here.
 void doDelete(StorableObject object)
          Insert the method's description here.
 void doInsert(StorableObject object)
          Insert the method's description here.
 java.util.Collection doSelect(Mapping mapping)
          Insert the method's description here.
 java.util.Collection doSelect(Mapping mapping, java.lang.String whereClause)
          Insert the method's description here.
 java.util.Collection doSelect(StorableObject queryObject)
          Insert the method's description here.
 void doUpdate(StorableObject object)
          Insert the method's description here.
 java.util.Vector getDeletedObjects()
          Insert the method's description here.
 java.util.Vector getInsertedObjects()
          Insert the method's description here.
 java.util.Collection getNextReturnObjects()
          Insert the method's description here.
 java.util.Vector getUpdatedObjects()
          Insert the method's description here.
 void setReturnObject(StorableObject object)
          Insert the method's description here.
 void setReturnObjects(java.util.Vector newReturnObjects)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockDatabase

public MockDatabase()
MockDatabase constructor comment.
Method Detail

addReturnObject

public void addReturnObject(StorableObject object)
Insert the method's description here. Creation date: (7/3/2001 11:18:36 AM)

addReturnObjects

public void addReturnObjects(java.util.Vector newReturnObjects)
Insert the method's description here. Creation date: (7/3/2001 11:18:36 AM)

doAggregateSelect

public java.util.Collection doAggregateSelect(Mapping first,
                                              Mapping second,
                                              java.lang.String field1,
                                              java.lang.String field2)
                                       throws DatabaseException
Insert the method's description here. Creation date: (7/6/2001 8:37:21 AM)
Specified by:
doAggregateSelect in interface IDatabase
Returns:
java.util.Iterator

doAggregateSelect

public java.util.Collection doAggregateSelect(Mapping first,
                                              Mapping second,
                                              java.lang.String field1,
                                              java.lang.String field2,
                                              java.lang.String whereClause)
                                       throws DatabaseException
Insert the method's description here. Creation date: (7/6/2001 8:37:21 AM)
Specified by:
doAggregateSelect in interface IDatabase
Parameters:
mapping - jstorm.mapping.Mapping
Returns:
java.util.Iterator

doDelete

public void doDelete(StorableObject object)
Insert the method's description here. Creation date: (7/3/2001 5:17:12 PM)
Specified by:
doDelete in interface IDatabase
Parameters:
object - jstorm.mapping.StorableObject

doInsert

public void doInsert(StorableObject object)
Insert the method's description here. Creation date: (7/3/2001 5:17:12 PM)
Specified by:
doInsert in interface IDatabase
Parameters:
object - jstorm.mapping.StorableObject

doSelect

public java.util.Collection doSelect(Mapping mapping)
                              throws DatabaseException
Insert the method's description here. Creation date: (7/3/2001 2:44:22 PM)
Specified by:
doSelect in interface IDatabase
Parameters:
mapping - jstorm.mapping.Mapping
Returns:
java.util.Iterator

doSelect

public java.util.Collection doSelect(Mapping mapping,
                                     java.lang.String whereClause)
                              throws DatabaseException
Insert the method's description here. Creation date: (7/3/2001 2:44:22 PM)
Specified by:
doSelect in interface IDatabase
Parameters:
mapping - jstorm.mapping.Mapping
Returns:
java.util.Iterator

doSelect

public java.util.Collection doSelect(StorableObject queryObject)
                              throws DatabaseException
Insert the method's description here. Creation date: (7/3/2001 12:01:26 PM)
Specified by:
doSelect in interface IDatabase
Parameters:
mapping - jstorm.mapping.Mapping
Returns:
java.util.Iterator

doUpdate

public void doUpdate(StorableObject object)
Insert the method's description here. Creation date: (7/3/2001 5:17:12 PM)
Specified by:
doUpdate in interface IDatabase
Parameters:
object - jstorm.mapping.StorableObject

getDeletedObjects

public java.util.Vector getDeletedObjects()
Insert the method's description here. Creation date: (7/3/2001 5:18:17 PM)
Returns:
java.util.Vector

getInsertedObjects

public java.util.Vector getInsertedObjects()
Insert the method's description here. Creation date: (7/3/2001 5:18:17 PM)
Returns:
java.util.Vector

getNextReturnObjects

public java.util.Collection getNextReturnObjects()
Insert the method's description here. Creation date: (7/3/2001 11:18:36 AM)
Parameters:
newReturnObjects - java.util.Collection

getUpdatedObjects

public java.util.Vector getUpdatedObjects()
Insert the method's description here. Creation date: (7/3/2001 5:18:18 PM)
Returns:
java.util.Vector

setReturnObject

public void setReturnObject(StorableObject object)
Insert the method's description here. Creation date: (7/3/2001 11:18:36 AM)
Parameters:
newReturnObjects - java.util.Collection

setReturnObjects

public void setReturnObjects(java.util.Vector newReturnObjects)
Insert the method's description here. Creation date: (7/3/2001 11:18:36 AM)
Parameters:
newReturnObjects - java.util.Collection