|
database b2007092001 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.phosphoresce.commons.database.accessor.ResultAccessorAbstract
org.phosphoresce.commons.database.accessor.ResultRow
行情報保持クラス
当クラスは行情報に閉じられたクラスであり、それらの情報を更新する固有のrefreshResultインタフェースを
コンストラクタによって呼ばれるため、このクラスを継承されることを許可しません。
フィールドの概要 |
クラス org.phosphoresce.commons.database.accessor.ResultAccessorAbstract から継承したフィールド |
error, listener, log, resultSet, state |
メソッドの概要 | |
ResultColumn |
getColumn(int index)
指定されたカラムインデックスのカラム情報オブジェクトを取得します。 |
ResultColumn |
getColumn(java.lang.String name)
指定されたカラム名のカラム情報オブジェクトを取得します。 |
ResultRowDefinition |
getDefinition()
行定義情報オブジェクトを取得します。 |
int |
getIndex()
行インデックスを取得します。 |
protected void |
refreshResult(boolean force)
ResultSetが現在提供する内容で自身のオブジェクトフィールドの更新を行います。 |
java.lang.String |
toString()
クラス情報を文字列として提供します。 |
protected void |
updateResult()
自身が保持する内容をResultSetに対して反映します。 |
クラス org.phosphoresce.commons.database.accessor.ResultAccessorAbstract から継承したメソッド |
getError, getResultSetRowIndex, getState, hasError, moveCurser, refreshResult, validateStateListener |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
メソッドの詳細 |
protected void refreshResult(boolean force) throws ResultSetAccessException, IllegalResultSetLocationIndexException, IllegalResultSetAdjustmentException
ResultAccessorAbstract
内の refreshResult
force
- 状況に関わらず強制的に更新する場合にtrueを指定、エラーの場合に等の状況によっては更新を行わない場合はfalseを指定
ResultSetAccessException
- 正常にResultSetへの操作が行えなかった場合に発生
IllegalResultSetLocationIndexException
- 不正な位置情報を操作した場合に発生
IllegalResultSetAdjustmentException
- ResultSetとの整合性が取られていない場合に発生ResultAccessorAbstract.refreshResult(boolean)
protected void updateResult() throws ResultSetAccessException, IllegalResultSetLocationIndexException, IllegalResultSetAdjustmentException
ResultAccessorAbstract
内の updateResult
ResultSetAccessException
- 正常にResultSetへの操作が行えなかった場合に発生
IllegalResultSetLocationIndexException
- 不正な位置情報を操作した場合に発生
IllegalResultSetAdjustmentException
- ResultSetとの整合性が取られていない場合に発生ResultAccessorAbstract.updateResult()
public ResultRowDefinition getDefinition()
public int getIndex()
public ResultColumn getColumn(int index) throws IllegalResultSetLocationIndexException
index
- カラムインデックス(0〜)
IllegalResultSetLocationIndexException
- 不正なカラムインデックスが指定された場合に発生public ResultColumn getColumn(java.lang.String name) throws IllegalResultSetLocationIndexException
name
- カラム名
IllegalResultSetLocationIndexException
- 指定されたカラム名が行に存在しない場合に発生public java.lang.String toString()
Object.toString()
|
database b2007092001 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |