|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.hamaf.hikyaku.dataobject.utils.ResultSetUtil
public class ResultSetUtil
タイトル:ResultSetUtil is ResultSetのGetter用Uiltクラス.
説明:ResultSetを処理するためのユーティリティクラス。
String
で戻す。
CHAR,NUMBER,VERCHAR
型のみ対応しています。
著作権: Copyright (c) 2004/06/15
コンストラクタの概要 | |
---|---|
ResultSetUtil()
|
メソッドの概要 | |
---|---|
static java.util.List<java.lang.String> |
getFieldNM(java.sql.ResultSet rs)
Describe getFieldNM method : get field name List. |
static java.lang.String |
getString(java.sql.ResultSet rs,
int fieldIndex)
ResultSetより、指定された項目Indexの値を文字列で戻す |
static java.lang.String |
getString(java.sql.ResultSet rs,
java.lang.String fieldName)
ResultSetより、指定された項目名の値を文字列で戻す |
static DetailItemsInterface |
setExclusion(java.sql.ResultSet rs,
DetailItemsInterface dii)
Describe setExclusion method : set commonfiels value. |
static DetailItemsInterface |
setValues(java.sql.ResultSet rs,
DetailItemsInterface dii)
Describe setValues method : set fiels value. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ResultSetUtil()
メソッドの詳細 |
---|
public static final java.lang.String getString(java.sql.ResultSet rs, int fieldIndex) throws java.sql.SQLException
rs
- SQL実行後に作成されたResultSetを設定するfieldIndex
- Select句の項目Indexを指定(1〜)
java.sql.SQLException
public static final java.lang.String getString(java.sql.ResultSet rs, java.lang.String fieldName) throws java.sql.SQLException
rs
- SQL実行後に作成されたResultSetを設定するfieldName
- Select句の項目名を指定(String)
java.sql.SQLException
public static final java.util.List<java.lang.String> getFieldNM(java.sql.ResultSet rs) throws java.sql.SQLException
getFieldNM
method : get field name List.
rs
- a ResultSet
:
List
: フィールド名のList
java.sql.SQLException
public static final DetailItemsInterface setValues(java.sql.ResultSet rs, DetailItemsInterface dii) throws java.sql.SQLException
setValues
method : set fiels value.
rs
- a ResultSet
:dii
- a DetailItemsInterface
:
DetailItemsInterface
:
java.sql.SQLException
public static final DetailItemsInterface setExclusion(java.sql.ResultSet rs, DetailItemsInterface dii) throws java.sql.SQLException
setExclusion
method : set commonfiels value.
rs
- a ResultSet
:dii
- a DetailItemsInterface
:
DetailItemsInterface
:
java.sql.SQLException
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |