com.mockrunner.jdbc
Class StatementResultSetHandler

java.lang.Object
  extended by com.mockrunner.jdbc.AbstractResultSetHandler
      extended by com.mockrunner.jdbc.StatementResultSetHandler

public class StatementResultSetHandler
extends AbstractResultSetHandler

Concrete handler for AbstractResultSetHandler.


Constructor Summary
StatementResultSetHandler()
           
 
Method Summary
 void addStatement(MockStatement statement)
          The Connection adds new statements with this method.
 void clearStatements()
          Clears the List of statements.
 java.util.List getStatements()
          Returns a List of all statements.
 
Methods inherited from class com.mockrunner.jdbc.AbstractResultSetHandler
addExecutedStatement, addReturnedResultSet, addReturnedResultSets, clearGeneratedKeys, clearGlobalGeneratedKeys, clearGlobalResultSet, clearGlobalUpdateCount, clearResultSets, clearReturnsResultSet, clearThrowsSQLException, clearUpdateCounts, createResultSet, createResultSet, createResultSet, createResultSet, getCaseSensitive, getContinueProcessingOnBatchFailure, getExactMatch, getExecutedStatements, getGeneratedKeys, getGeneratedKeysMap, getGlobalGeneratedKeys, getGlobalResultSet, getGlobalResultSets, getGlobalUpdateCount, getGlobalUpdateCounts, getResultSet, getResultSetMap, getResultSets, getReturnedResultSets, getReturnsResultSet, getSQLException, getThrowsSQLException, getUpdateCount, getUpdateCountMap, getUpdateCounts, getUseRegularExpressions, hasMultipleGlobalResultSets, hasMultipleGlobalUpdateCounts, hasMultipleResultSets, hasMultipleUpdateCounts, prepareGeneratedKeys, prepareGlobalGeneratedKeys, prepareGlobalResultSet, prepareGlobalResultSets, prepareGlobalUpdateCount, prepareGlobalUpdateCounts, prepareResultSet, prepareResultSets, prepareReturnsResultSet, prepareThrowsSQLException, prepareThrowsSQLException, prepareUpdateCount, prepareUpdateCounts, setCaseSensitive, setContinueProcessingOnBatchFailure, setExactMatch, setUseRegularExpressions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementResultSetHandler

public StatementResultSetHandler()
Method Detail

addStatement

public void addStatement(MockStatement statement)
The Connection adds new statements with this method.

Parameters:
statement - the MockStatement

getStatements

public java.util.List getStatements()
Returns a List of all statements.

Returns:
the List of MockStatement objects

clearStatements

public void clearStatements()
Clears the List of statements.