org.dbunit.database
Class ExtendedMockSingleRowResultSet

java.lang.Object
  extended by com.mockobjects.MockObject
      extended by com.mockobjects.sql.MockSingleRowResultSet
          extended by org.dbunit.database.ExtendedMockSingleRowResultSet
All Implemented Interfaces:
com.mockobjects.Verifiable, ResultSet, Wrapper

public class ExtendedMockSingleRowResultSet
extends com.mockobjects.sql.MockSingleRowResultSet

Since:
Aug 11, 2003
Version:
$Revision: 398 $
Author:
Manuel Laflamme

Field Summary
protected  com.mockobjects.ExpectationCounter myNextCalls
           
protected  String name
           
 
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
ExtendedMockSingleRowResultSet()
           
 
Method Summary
 boolean getBoolean(int i)
           
 boolean getBoolean(String s)
           
 byte getByte(int i)
           
 byte getByte(String s)
           
 double getDouble(int i)
           
 double getDouble(String s)
           
 float getFloat(int i)
           
 float getFloat(String s)
           
 int getInt(int i)
           
 int getInt(String s)
           
 long getLong(int i)
           
 long getLong(String s)
           
 Object getObject(int i)
           
 Object getObject(String s)
           
 short getShort(int i)
           
 short getShort(String s)
           
 boolean wasNull()
           
 
Methods inherited from class com.mockobjects.sql.MockSingleRowResultSet
getHoldability, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, getURL, getURL, isClosed, isWrapperFor, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRef, updateRef, updateRowId, updateRowId, updateSQLXML, updateSQLXML
 
Methods inherited from class com.mockobjects.MockObject
assertEquals, assertEquals, assertTrue, fail, notImplemented, notYetImplemented, notYetImplemented, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myNextCalls

protected final com.mockobjects.ExpectationCounter myNextCalls

name

protected final String name
Constructor Detail

ExtendedMockSingleRowResultSet

public ExtendedMockSingleRowResultSet()
Method Detail

getObject

public Object getObject(String s)
                 throws SQLException
Specified by:
getObject in interface ResultSet
Overrides:
getObject in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getObject

public Object getObject(int i)
                 throws SQLException
Specified by:
getObject in interface ResultSet
Overrides:
getObject in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getBoolean

public boolean getBoolean(int i)
                   throws SQLException
Specified by:
getBoolean in interface ResultSet
Overrides:
getBoolean in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getBoolean

public boolean getBoolean(String s)
                   throws SQLException
Specified by:
getBoolean in interface ResultSet
Overrides:
getBoolean in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getByte

public byte getByte(int i)
             throws SQLException
Specified by:
getByte in interface ResultSet
Overrides:
getByte in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getByte

public byte getByte(String s)
             throws SQLException
Specified by:
getByte in interface ResultSet
Overrides:
getByte in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getDouble

public double getDouble(int i)
                 throws SQLException
Specified by:
getDouble in interface ResultSet
Overrides:
getDouble in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getDouble

public double getDouble(String s)
                 throws SQLException
Specified by:
getDouble in interface ResultSet
Overrides:
getDouble in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getFloat

public float getFloat(int i)
               throws SQLException
Specified by:
getFloat in interface ResultSet
Overrides:
getFloat in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getFloat

public float getFloat(String s)
               throws SQLException
Specified by:
getFloat in interface ResultSet
Overrides:
getFloat in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getInt

public int getInt(int i)
           throws SQLException
Specified by:
getInt in interface ResultSet
Overrides:
getInt in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getInt

public int getInt(String s)
           throws SQLException
Specified by:
getInt in interface ResultSet
Overrides:
getInt in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getLong

public long getLong(int i)
             throws SQLException
Specified by:
getLong in interface ResultSet
Overrides:
getLong in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getLong

public long getLong(String s)
             throws SQLException
Specified by:
getLong in interface ResultSet
Overrides:
getLong in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getShort

public short getShort(String s)
               throws SQLException
Specified by:
getShort in interface ResultSet
Overrides:
getShort in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

getShort

public short getShort(int i)
               throws SQLException
Specified by:
getShort in interface ResultSet
Overrides:
getShort in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException

wasNull

public boolean wasNull()
                throws SQLException
Specified by:
wasNull in interface ResultSet
Overrides:
wasNull in class com.mockobjects.sql.MockSingleRowResultSet
Throws:
SQLException


Copyright © 2002-2012. All Rights Reserved.