|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockrunner.jdbc.AbstractResultSetHandler com.mockrunner.jdbc.AbstractParameterResultSetHandler com.mockrunner.jdbc.PreparedStatementResultSetHandler
public class PreparedStatementResultSetHandler
Concrete handler for MockPreparedStatement
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.mockrunner.jdbc.AbstractParameterResultSetHandler |
---|
AbstractParameterResultSetHandler.ParameterWrapper |
Constructor Summary | |
---|---|
PreparedStatementResultSetHandler()
|
Method Summary | |
---|---|
void |
addPreparedStatement(MockPreparedStatement statement)
The Connection adds new statements with
this method. |
void |
clearPreparedStatements()
Clears all prepared statements |
java.util.Map |
getPreparedStatementMap()
Returns a Map of all prepared statements. |
java.util.List |
getPreparedStatements()
Returns a List of all prepared statements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreparedStatementResultSetHandler()
Method Detail |
---|
public void addPreparedStatement(MockPreparedStatement statement)
Connection
adds new statements with
this method.
statement
- the MockPreparedStatement
public java.util.List getPreparedStatements()
List
of all prepared statements.
List
of MockPreparedStatement
objectspublic java.util.Map getPreparedStatementMap()
Map
of all prepared statements.
The SQL strings map to the corresponding MockPreparedStatement
object.
Map
of MockPreparedStatement
objectspublic void clearPreparedStatements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |