org.seasar.framework.mock.sql
クラス MockResultSetMetaData
java.lang.Object
org.seasar.framework.mock.sql.MockResultSetMetaData
- すべての実装インタフェース:
- ResultSetMetaData
- public class MockResultSetMetaData
- extends Object
- implements ResultSetMetaData
ResultSetMetaData
用のモッククラスです。
- 作成者:
- higa
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockResultSetMetaData
public MockResultSetMetaData()
getColumnMetaData
public MockColumnMetaData getColumnMetaData(int index)
- カラムのメタデータを返します。
- パラメータ:
index
- インデックス
- 戻り値:
- カラムのメタデータ
addColumnMetaData
public void addColumnMetaData(MockColumnMetaData columnMetaData)
- カラムのメタデータを追加します。
- パラメータ:
columnMetaData
- カラムのメタデータ
getCatalogName
public String getCatalogName(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getCatalogName
- 例外:
SQLException
getColumnClassName
public String getColumnClassName(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getColumnClassName
- 例外:
SQLException
getColumnCount
public int getColumnCount()
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getColumnCount
- 例外:
SQLException
getColumnDisplaySize
public int getColumnDisplaySize(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getColumnDisplaySize
- 例外:
SQLException
getColumnLabel
public String getColumnLabel(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getColumnLabel
- 例外:
SQLException
getColumnName
public String getColumnName(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getColumnName
- 例外:
SQLException
getColumnType
public int getColumnType(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getColumnType
- 例外:
SQLException
getColumnTypeName
public String getColumnTypeName(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getColumnTypeName
- 例外:
SQLException
getPrecision
public int getPrecision(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getPrecision
- 例外:
SQLException
getScale
public int getScale(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getScale
- 例外:
SQLException
getSchemaName
public String getSchemaName(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getSchemaName
- 例外:
SQLException
getTableName
public String getTableName(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の getTableName
- 例外:
SQLException
isAutoIncrement
public boolean isAutoIncrement(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isAutoIncrement
- 例外:
SQLException
isCaseSensitive
public boolean isCaseSensitive(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isCaseSensitive
- 例外:
SQLException
isCurrency
public boolean isCurrency(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isCurrency
- 例外:
SQLException
isDefinitelyWritable
public boolean isDefinitelyWritable(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isDefinitelyWritable
- 例外:
SQLException
isNullable
public int isNullable(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isNullable
- 例外:
SQLException
isReadOnly
public boolean isReadOnly(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isReadOnly
- 例外:
SQLException
isSearchable
public boolean isSearchable(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isSearchable
- 例外:
SQLException
isSigned
public boolean isSigned(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isSigned
- 例外:
SQLException
isWritable
public boolean isWritable(int column)
throws SQLException
- 定義:
- インタフェース
ResultSetMetaData
内の isWritable
- 例外:
SQLException
findColumn
public int findColumn(String columnName)
throws SQLException
- カラム番号を返します。
- パラメータ:
columnName
- カラム名
- 戻り値:
- カラム番号
- 例外:
SQLException
- カラム名が見つからなかった場合。
Copyright © 2004-2009 The Seasar Foundation. All Rights Reserved.