|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.hamaf.hikyaku.access.AccessBase
com.hamaf.hikyaku.access.DefaultTableAccess
public class DefaultTableAccess
タイトル:DefaultTableAccess is Default Table Access Class.
説明:標準テーブルアクセスクラス
著作権: Copyright (c) 2004/11/26
フィールドの概要 | |
---|---|
protected java.lang.String |
connectionParameter
|
protected java.lang.String |
tableName
|
クラス com.hamaf.hikyaku.access.AccessBase から継承されたフィールド |
---|
_conn, _DbConnect, _stmt |
コンストラクタの概要 | |
---|---|
DefaultTableAccess()
Creates a new DefaultTableAccess.java instance. |
メソッドの概要 | |
---|---|
void |
delete(DetailItemsInterface dii)
Describe delete method : delete TABLE items by PrimaryKey. |
void |
deleteNoExclusion(DetailItemsInterface dii)
Describe deleteNoExclusion method : delete TABLE items by PrimaryKey. |
RetrieveKeysInterface |
find(RetrieveKeysInterface rki)
Describe find method : get primaryKey List. |
DetailItemsInterface |
findByPrimaryKey(DetailItemsInterface dii)
Describe findByPrimaryKey method : get record by primaryKey. |
void |
regist(DetailItemsInterface dii)
Describe regist method : insert TABLE. |
void |
setConnectionParameter(java.lang.String connPrm)
Describe setConnectionParameter method : コネクション取得パラメータを設定する. |
void |
setDebug()
|
void |
setTableName(java.lang.String tblName)
Describe setTableName method : テーブル名を設定する. |
void |
update(DetailItemsInterface dii)
Describe update method : update TABLE items by PrimaryKey. |
void |
updateNoExclusion(DetailItemsInterface dii)
Describe updateNoExclusion method : update TABLE items by PrimaryKey. |
クラス com.hamaf.hikyaku.access.AccessBase から継承されたメソッド |
---|
closeStatement, destroy, exclusion, getPkeys, getProductName, getStatement, setConnection |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.lang.String tableName
protected java.lang.String connectionParameter
コンストラクタの詳細 |
---|
public DefaultTableAccess()
DefaultTableAccess.java
instance.
メソッドの詳細 |
---|
public final void setTableName(java.lang.String tblName)
setTableName
method : テーブル名を設定する.
tblName
- a String
: テーブル名public final void setConnectionParameter(java.lang.String connPrm)
setConnectionParameter
method : コネクション取得パラメータを設定する.
connPrm
- a String
: コネクション取得パラメータpublic DetailItemsInterface findByPrimaryKey(DetailItemsInterface dii) throws java.sql.SQLException
findByPrimaryKey
method : get record by primaryKey.
(getSelectStringWithExclusion,setExclusion)
を利用する。
pdi
- a DetailItemsInterface
DetailItemsInterface
java.sql.SQLException
public void regist(DetailItemsInterface dii) throws java.sql.SQLException
regist
method : insert TABLE.
(getInsertItemWithExclusion,getInsertValueWithExclusion)
を利用する。
dii
- a DetailItemsInterface
java.sql.SQLException
public void update(DetailItemsInterface dii) throws ExclusionException, java.sql.SQLException
update
method : update TABLE items by PrimaryKey.
(getUpdateStringWithExclusion)
を利用する。
dii
- a DetailItemsInterface
ExclusionException
- : 排他エラーの場合
java.sql.SQLException
public void updateNoExclusion(DetailItemsInterface dii) throws java.sql.SQLException
updateNoExclusion
method : update TABLE items by PrimaryKey.
dii
- a DetailItemsInterface
java.sql.SQLException
public void delete(DetailItemsInterface dii) throws ExclusionException, java.sql.SQLException
delete
method : delete TABLE items by PrimaryKey.
dii
- a DetailItemsInterface
ExclusionException
- : 排他エラーの場合
java.sql.SQLException
public void deleteNoExclusion(DetailItemsInterface dii) throws java.sql.SQLException
deleteNoExclusion
method : delete TABLE items by PrimaryKey.
dii
- a DetailItemsInterface
java.sql.SQLException
public RetrieveKeysInterface find(RetrieveKeysInterface rki) throws java.sql.SQLException
find
method : get primaryKey List.
List
に設定されます。
rki
- a RetrieveKeysInterface
RetrieveKeysInterface
java.sql.SQLException
public final void setDebug()
argDebug
- debug を設定します。
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |