package corbajdbc; import java.io.InputStream; import java.math.*; import java.sql.*; public class C_ResultSet implements ResultSet { CorbaResultSet resultRef; public C_ResultSet(CorbaResultSet resultRef) throws SQLException { this.resultRef = resultRef; } public String getString(int iColumn) throws SQLException { return resultRef.getString(iColumn); } public boolean next() throws SQLException { return resultRef.next(); } public ResultSetMetaData getMetaData() throws SQLException {return null;} public void clearWarnings() {} public SQLWarning getWarnings() {return null;} public boolean wasNull() {return false;} public Object getObject(int iColumn) throws SQLException {return null;} public byte getByte(int iColumn) throws SQLException {return (byte)10;} public short getShort(int iColumn) throws SQLException {return (short)10;} public int getInt(int iColumn) throws SQLException {return 10;} public long getLong(int iColumn) throws SQLException {return (long)10;} public float getFloat(int iColumn) throws SQLException {return (float)10.0;} public double getDouble(int iColumn) throws SQLException {return 10.0;} public BigDecimal getBigDecimal(int iColumn, int iScale) throws SQLException {return new BigDecimal("10");} public boolean getBoolean(int iColumn) throws SQLException {return false;} public byte[] getBytes(int iColumn) throws SQLException {return null;} public java.sql.Date getDate(int iColumn) throws SQLException {return null;} public java.sql.Time getTime(int iColumn) throws SQLException {return null;} public java.sql.Timestamp getTimestamp(int iColumn) throws SQLException {return null;} public InputStream getAsciiStream(int iColumn) throws SQLException {return null;} public InputStream getUnicodeStream(int iColumn) throws SQLException {return null;} public InputStream getBinaryStream(int iColumn) throws SQLException {return null;} public int findColumn(String sColumnName) throws SQLException {return 1;} public String getString(String sColumnName) throws SQLException {return getString(findColumn(sColumnName));} public byte getByte(String sColumnName) throws SQLException {return getByte(findColumn(sColumnName));} public short getShort(String sColumnName) throws SQLException {return getShort(findColumn(sColumnName));} public int getInt(String sColumnName) throws SQLException {return getInt(findColumn(sColumnName));} public long getLong(String sColumnName) throws SQLException {return getLong(findColumn(sColumnName));} public float getFloat(String sColumnName) throws SQLException {return getFloat(findColumn(sColumnName));} public double getDouble(String sColumnName) throws SQLException {return getDouble(findColumn(sColumnName));} public BigDecimal getBigDecimal(String sColumnName, int iScale) throws SQLException {return getBigDecimal(findColumn(sColumnName), iScale);} public boolean getBoolean(String sColumnName) throws SQLException {return getBoolean(findColumn(sColumnName));} public byte[] getBytes(String sColumnName) throws SQLException {return getBytes(findColumn(sColumnName));} public java.sql.Date getDate(String sColumnName) throws SQLException {return getDate(findColumn(sColumnName));} public java.sql.Time getTime(String sColumnName) throws SQLException {return getTime(findColumn(sColumnName));} public java.sql.Timestamp getTimestamp(String sColumnName) throws SQLException {return getTimestamp(findColumn(sColumnName));} public InputStream getAsciiStream(String sColumnName) throws SQLException {return getAsciiStream(findColumn(sColumnName));} public InputStream getUnicodeStream(String sColumnName) throws SQLException {return getUnicodeStream(findColumn(sColumnName));} public InputStream getBinaryStream(String sColumnName) throws SQLException {return getBinaryStream(findColumn(sColumnName));} public Object getObject(String sColumnName) throws SQLException {return getObject(findColumn(sColumnName));} public String getCursorName() throws SQLException {return "ThisCursor";} public void close() throws SQLException {} }