com.mockrunner.jdbc
Class CallableStatementResultSetHandler

java.lang.Object
  extended by com.mockrunner.jdbc.AbstractResultSetHandler
      extended by com.mockrunner.jdbc.AbstractParameterResultSetHandler
          extended by com.mockrunner.jdbc.AbstractOutParameterResultSetHandler
              extended by com.mockrunner.jdbc.CallableStatementResultSetHandler

public class CallableStatementResultSetHandler
extends AbstractOutParameterResultSetHandler

Concrete handler for MockCallableStatement.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.mockrunner.jdbc.AbstractParameterResultSetHandler
AbstractParameterResultSetHandler.ParameterWrapper
 
Constructor Summary
CallableStatementResultSetHandler()
           
 
Method Summary
 void addCallableStatement(MockCallableStatement statement)
          The Connection adds new statements with this method.
 void clearCallableStatements()
          Clears all callable statements
 java.util.Map getCallableStatementMap()
          Returns a Map of all callable statements.
 java.util.List getCallableStatements()
          Returns a List of all callable statements.
 
Methods inherited from class com.mockrunner.jdbc.AbstractOutParameterResultSetHandler
clearOutParameter, getGlobalOutParameter, getMustRegisterOutParameters, getOutParameter, getOutParameter, prepareGlobalOutParameter, prepareOutParameter, prepareOutParameter, prepareOutParameter, prepareOutParameter, setMustRegisterOutParameters
 
Methods inherited from class com.mockrunner.jdbc.AbstractParameterResultSetHandler
addParameterMapForExecutedStatement, clearGeneratedKeys, clearResultSets, clearThrowsSQLException, clearUpdateCounts, getExecutedStatementParameter, getExecutedStatementParameterMap, getGeneratedKeys, getMatchingParameterWrapper, getParametersForExecutedStatement, getResultSet, getResultSets, getSQLException, getThrowsSQLException, getUpdateCount, getUpdateCounts, hasMultipleResultSets, hasMultipleUpdateCounts, prepareGeneratedKeys, prepareGeneratedKeys, prepareGeneratedKeys, prepareResultSet, prepareResultSet, prepareResultSet, prepareResultSets, prepareResultSets, prepareResultSets, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareUpdateCount, prepareUpdateCount, prepareUpdateCount, prepareUpdateCounts, prepareUpdateCounts, prepareUpdateCounts, setExactMatchParameter
 
Methods inherited from class com.mockrunner.jdbc.AbstractResultSetHandler
addExecutedStatement, addReturnedResultSet, addReturnedResultSets, clearGlobalGeneratedKeys, clearGlobalResultSet, clearGlobalUpdateCount, clearReturnsResultSet, 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

CallableStatementResultSetHandler

public CallableStatementResultSetHandler()
Method Detail

addCallableStatement

public void addCallableStatement(MockCallableStatement statement)
The Connection adds new statements with this method.

Parameters:
statement - the MockCallableStatement

getCallableStatements

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

Returns:
the List of MockCallableStatement objects

getCallableStatementMap

public java.util.Map getCallableStatementMap()
Returns a Map of all callable statements. The SQL strings map to the corresponding MockCallableStatement object.

Returns:
the Map of MockCallableStatement objects

clearCallableStatements

public void clearCallableStatements()
Clears all callable statements