org.seasar.framework.mock.sql
クラス MockCallableStatement
java.lang.Object
org.seasar.framework.mock.sql.MockStatement
org.seasar.framework.mock.sql.MockPreparedStatement
org.seasar.framework.mock.sql.MockCallableStatement
- すべての実装インタフェース:
- CallableStatement, PreparedStatement, Statement
- public class MockCallableStatement
- extends MockPreparedStatement
- implements CallableStatement
CallableStatement
用のモッククラスです。
- 作成者:
- higa
メソッドの概要 |
Array |
getArray(int i)
|
Array |
getArray(String parameterName)
|
BigDecimal |
getBigDecimal(int parameterIndex)
|
BigDecimal |
getBigDecimal(int parameterIndex,
int scale)
|
BigDecimal |
getBigDecimal(String parameterName)
|
Blob |
getBlob(int i)
|
Blob |
getBlob(String parameterName)
|
boolean |
getBoolean(int parameterIndex)
|
boolean |
getBoolean(String parameterName)
|
byte |
getByte(int parameterIndex)
|
byte |
getByte(String parameterName)
|
byte[] |
getBytes(int parameterIndex)
|
byte[] |
getBytes(String parameterName)
|
Clob |
getClob(int i)
|
Clob |
getClob(String parameterName)
|
Date |
getDate(int parameterIndex)
|
Date |
getDate(int parameterIndex,
Calendar cal)
|
Date |
getDate(String parameterName)
|
Date |
getDate(String parameterName,
Calendar cal)
|
double |
getDouble(int parameterIndex)
|
double |
getDouble(String parameterName)
|
float |
getFloat(int parameterIndex)
|
float |
getFloat(String parameterName)
|
int |
getInt(int parameterIndex)
|
int |
getInt(String parameterName)
|
long |
getLong(int parameterIndex)
|
long |
getLong(String parameterName)
|
Object |
getObject(int parameterIndex)
|
Object |
getObject(int arg0,
Map arg1)
|
Object |
getObject(String parameterName)
|
Object |
getObject(String arg0,
Map arg1)
|
Ref |
getRef(int i)
|
Ref |
getRef(String parameterName)
|
short |
getShort(int parameterIndex)
|
short |
getShort(String parameterName)
|
String |
getString(int parameterIndex)
|
String |
getString(String parameterName)
|
Time |
getTime(int parameterIndex)
|
Time |
getTime(int parameterIndex,
Calendar cal)
|
Time |
getTime(String parameterName)
|
Time |
getTime(String parameterName,
Calendar cal)
|
Timestamp |
getTimestamp(int parameterIndex)
|
Timestamp |
getTimestamp(int parameterIndex,
Calendar cal)
|
Timestamp |
getTimestamp(String parameterName)
|
Timestamp |
getTimestamp(String parameterName,
Calendar cal)
|
URL |
getURL(int parameterIndex)
|
URL |
getURL(String parameterName)
|
void |
registerOutParameter(int parameterIndex,
int sqlType)
|
void |
registerOutParameter(int parameterIndex,
int sqlType,
int scale)
|
void |
registerOutParameter(int paramIndex,
int sqlType,
String typeName)
|
void |
registerOutParameter(String parameterName,
int sqlType)
|
void |
registerOutParameter(String parameterName,
int sqlType,
int scale)
|
void |
registerOutParameter(String parameterName,
int sqlType,
String typeName)
|
void |
setAsciiStream(String parameterName,
InputStream x,
int length)
|
void |
setBigDecimal(String parameterName,
BigDecimal x)
|
void |
setBinaryStream(String parameterName,
InputStream x,
int length)
|
void |
setBoolean(String parameterName,
boolean x)
|
void |
setByte(String parameterName,
byte x)
|
void |
setBytes(String parameterName,
byte[] x)
|
void |
setCharacterStream(String parameterName,
Reader reader,
int length)
|
void |
setDate(String parameterName,
Date x)
|
void |
setDate(String parameterName,
Date x,
Calendar cal)
|
void |
setDouble(String parameterName,
double x)
|
void |
setFloat(String parameterName,
float x)
|
void |
setInt(String parameterName,
int x)
|
void |
setLong(String parameterName,
long x)
|
void |
setNull(String parameterName,
int sqlType)
|
void |
setNull(String parameterName,
int sqlType,
String typeName)
|
void |
setObject(String parameterName,
Object x)
|
void |
setObject(String parameterName,
Object x,
int targetSqlType)
|
void |
setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
|
void |
setShort(String parameterName,
short x)
|
void |
setString(String parameterName,
String x)
|
void |
setTime(String parameterName,
Time x)
|
void |
setTime(String parameterName,
Time x,
Calendar cal)
|
void |
setTimestamp(String parameterName,
Timestamp x)
|
void |
setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
|
void |
setURL(String parameterName,
URL val)
|
boolean |
wasNull()
|
クラス org.seasar.framework.mock.sql.MockPreparedStatement から継承したメソッド |
addBatch, clearParameters, execute, executeQuery, executeUpdate, getAutoGeneratedKeys, getColumnIndices, getColumnNames, getMetaData, getParameterMetaData, getSql, setArray, setAsciiStream, setAutoGeneratedKeys, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setColumnIndices, setColumnNames, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setSql, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL |
クラス org.seasar.framework.mock.sql.MockStatement から継承したメソッド |
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, setClosed, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース java.sql.PreparedStatement から継承したメソッド |
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL |
インタフェース java.sql.Statement から継承したメソッド |
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
MockCallableStatement
public MockCallableStatement(MockConnection connection,
String sql)
MockCallableStatement
を作成します。
- パラメータ:
connection
- コネクションsql
- SQL
MockCallableStatement
public MockCallableStatement(MockConnection connection,
String sql,
int resultSetType,
int resultSetConcurrency)
MockCallableStatement
を作成します。
- パラメータ:
connection
- コネクションsql
- SQLresultSetType
- 結果セットタイプresultSetConcurrency
- 結果セット同時並行性
MockCallableStatement
public MockCallableStatement(MockConnection connection,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
MockCallableStatement
を作成します。
- パラメータ:
connection
- コネクションsql
- SQLresultSetType
- 結果セットタイプresultSetConcurrency
- 結果セット同時並行性resultSetHoldability
- 結果セット保持力
getArray
public Array getArray(int i)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getArray
- 例外:
SQLException
getArray
public Array getArray(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getArray
- 例外:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBigDecimal
- 例外:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBigDecimal
- 例外:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(int parameterIndex,
int scale)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBigDecimal
- 例外:
SQLException
getBlob
public Blob getBlob(int i)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBlob
- 例外:
SQLException
getBlob
public Blob getBlob(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBlob
- 例外:
SQLException
getBoolean
public boolean getBoolean(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBoolean
- 例外:
SQLException
getBoolean
public boolean getBoolean(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBoolean
- 例外:
SQLException
getByte
public byte getByte(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getByte
- 例外:
SQLException
getByte
public byte getByte(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getByte
- 例外:
SQLException
getBytes
public byte[] getBytes(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBytes
- 例外:
SQLException
getBytes
public byte[] getBytes(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getBytes
- 例外:
SQLException
getClob
public Clob getClob(int i)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getClob
- 例外:
SQLException
getClob
public Clob getClob(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getClob
- 例外:
SQLException
getDate
public Date getDate(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getDate
- 例外:
SQLException
getDate
public Date getDate(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getDate
- 例外:
SQLException
getDate
public Date getDate(int parameterIndex,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getDate
- 例外:
SQLException
getDate
public Date getDate(String parameterName,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getDate
- 例外:
SQLException
getDouble
public double getDouble(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getDouble
- 例外:
SQLException
getDouble
public double getDouble(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getDouble
- 例外:
SQLException
getFloat
public float getFloat(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getFloat
- 例外:
SQLException
getFloat
public float getFloat(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getFloat
- 例外:
SQLException
getInt
public int getInt(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getInt
- 例外:
SQLException
getInt
public int getInt(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getInt
- 例外:
SQLException
getLong
public long getLong(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getLong
- 例外:
SQLException
getLong
public long getLong(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getLong
- 例外:
SQLException
getObject
public Object getObject(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getObject
- 例外:
SQLException
getObject
public Object getObject(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getObject
- 例外:
SQLException
getObject
public Object getObject(int arg0,
Map arg1)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getObject
- 例外:
SQLException
getObject
public Object getObject(String arg0,
Map arg1)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getObject
- 例外:
SQLException
getRef
public Ref getRef(int i)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getRef
- 例外:
SQLException
getRef
public Ref getRef(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getRef
- 例外:
SQLException
getShort
public short getShort(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getShort
- 例外:
SQLException
getShort
public short getShort(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getShort
- 例外:
SQLException
getString
public String getString(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getString
- 例外:
SQLException
getString
public String getString(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getString
- 例外:
SQLException
getTime
public Time getTime(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTime
- 例外:
SQLException
getTime
public Time getTime(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTime
- 例外:
SQLException
getTime
public Time getTime(int parameterIndex,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTime
- 例外:
SQLException
getTime
public Time getTime(String parameterName,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTime
- 例外:
SQLException
getTimestamp
public Timestamp getTimestamp(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTimestamp
- 例外:
SQLException
getTimestamp
public Timestamp getTimestamp(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTimestamp
- 例外:
SQLException
getTimestamp
public Timestamp getTimestamp(int parameterIndex,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTimestamp
- 例外:
SQLException
getTimestamp
public Timestamp getTimestamp(String parameterName,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getTimestamp
- 例外:
SQLException
getURL
public URL getURL(int parameterIndex)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getURL
- 例外:
SQLException
getURL
public URL getURL(String parameterName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の getURL
- 例外:
SQLException
registerOutParameter
public void registerOutParameter(int parameterIndex,
int sqlType)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の registerOutParameter
- 例外:
SQLException
registerOutParameter
public void registerOutParameter(String parameterName,
int sqlType)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の registerOutParameter
- 例外:
SQLException
registerOutParameter
public void registerOutParameter(int parameterIndex,
int sqlType,
int scale)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の registerOutParameter
- 例外:
SQLException
registerOutParameter
public void registerOutParameter(int paramIndex,
int sqlType,
String typeName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の registerOutParameter
- 例外:
SQLException
registerOutParameter
public void registerOutParameter(String parameterName,
int sqlType,
int scale)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の registerOutParameter
- 例外:
SQLException
registerOutParameter
public void registerOutParameter(String parameterName,
int sqlType,
String typeName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の registerOutParameter
- 例外:
SQLException
setAsciiStream
public void setAsciiStream(String parameterName,
InputStream x,
int length)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setAsciiStream
- 例外:
SQLException
setBigDecimal
public void setBigDecimal(String parameterName,
BigDecimal x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setBigDecimal
- 例外:
SQLException
setBinaryStream
public void setBinaryStream(String parameterName,
InputStream x,
int length)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setBinaryStream
- 例外:
SQLException
setBoolean
public void setBoolean(String parameterName,
boolean x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setBoolean
- 例外:
SQLException
setByte
public void setByte(String parameterName,
byte x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setByte
- 例外:
SQLException
setBytes
public void setBytes(String parameterName,
byte[] x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setBytes
- 例外:
SQLException
setCharacterStream
public void setCharacterStream(String parameterName,
Reader reader,
int length)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setCharacterStream
- 例外:
SQLException
setDate
public void setDate(String parameterName,
Date x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setDate
- 例外:
SQLException
setDate
public void setDate(String parameterName,
Date x,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setDate
- 例外:
SQLException
setDouble
public void setDouble(String parameterName,
double x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setDouble
- 例外:
SQLException
setFloat
public void setFloat(String parameterName,
float x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setFloat
- 例外:
SQLException
setInt
public void setInt(String parameterName,
int x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setInt
- 例外:
SQLException
setLong
public void setLong(String parameterName,
long x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setLong
- 例外:
SQLException
setNull
public void setNull(String parameterName,
int sqlType)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setNull
- 例外:
SQLException
setNull
public void setNull(String parameterName,
int sqlType,
String typeName)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setNull
- 例外:
SQLException
setObject
public void setObject(String parameterName,
Object x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setObject
- 例外:
SQLException
setObject
public void setObject(String parameterName,
Object x,
int targetSqlType)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setObject
- 例外:
SQLException
setObject
public void setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setObject
- 例外:
SQLException
setShort
public void setShort(String parameterName,
short x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setShort
- 例外:
SQLException
setString
public void setString(String parameterName,
String x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setString
- 例外:
SQLException
setTime
public void setTime(String parameterName,
Time x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setTime
- 例外:
SQLException
setTime
public void setTime(String parameterName,
Time x,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setTime
- 例外:
SQLException
setTimestamp
public void setTimestamp(String parameterName,
Timestamp x)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setTimestamp
- 例外:
SQLException
setTimestamp
public void setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setTimestamp
- 例外:
SQLException
setURL
public void setURL(String parameterName,
URL val)
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の setURL
- 例外:
SQLException
wasNull
public boolean wasNull()
throws SQLException
- 定義:
- インタフェース
CallableStatement
内の wasNull
- 例外:
SQLException
Copyright © 2004-2009 The Seasar Foundation. All Rights Reserved.