|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.hamaf.hikyaku.access.AccessBase
com.hamaf.hikyaku.access.MultipleAccessBase
com.hamaf.hikyaku.access.MultipleTableAccess
public class MultipleTableAccess
タイトル: MultipleTableAccess is Multiple Table Access Class.
説明:複数テーブル更新用テーブルアクセスクラス。
Created: Tue Feb 15 16:34:14 2005
フィールドの概要 | |
---|---|
protected java.lang.String |
connectionParameter
|
クラス com.hamaf.hikyaku.access.AccessBase から継承されたフィールド |
---|
_conn, _DbConnect, _stmt |
コンストラクタの概要 | |
---|---|
MultipleTableAccess()
|
メソッドの概要 | |
---|---|
void |
delete(java.lang.String tblName,
DetailItemsInterface dii)
Describe delete method : delete instance by PrimaryKey. |
void |
deleteNoExclusion(java.lang.String tblName,
DetailItemsInterface dii)
Describe deleteNoExclusion method : delete TABLE items by PrimaryKey. |
void |
regist(java.lang.String tblName,
DetailItemsInterface dii)
Describe regist method : insert TABLE. |
void |
setConnectionParameter(java.lang.String connPrm)
Describe setConnectionParameter method : コネクション取得パラメータを設定する. |
void |
setDebug()
|
void |
update(java.lang.String tblName,
DetailItemsInterface dii)
Describe update method : update TABLE items by PrimaryKey. |
void |
updateNoExclusion(java.lang.String tblName,
DetailItemsInterface dii)
Describe updateNoExclusion method : update TABLE items by PrimaryKey. |
クラス com.hamaf.hikyaku.access.MultipleAccessBase から継承されたメソッド |
---|
commit, getStatement, rollBack |
クラス com.hamaf.hikyaku.access.AccessBase から継承されたメソッド |
---|
closeStatement, destroy, exclusion, getPkeys, getProductName, setConnection |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.lang.String connectionParameter
コンストラクタの詳細 |
---|
public MultipleTableAccess()
メソッドの詳細 |
---|
public final void setConnectionParameter(java.lang.String connPrm)
setConnectionParameter
method : コネクション取得パラメータを設定する.
connPrm
- a String
: コネクション取得パラメータpublic void regist(java.lang.String tblName, DetailItemsInterface dii) throws java.sql.SQLException
regist
method : insert TABLE.
(getInsertItemWithExclusion,getInsertValueWithExclusion)
を利用する。
tblName
- a String
: テーブル名dii
- a DetailItemsInterface
java.sql.SQLException
public void update(java.lang.String tblName, DetailItemsInterface dii) throws ExclusionException, java.sql.SQLException
update
method : update TABLE items by PrimaryKey.
(getUpdateStringWithExclusion)
を利用する。
tblName
- a String
: テーブル名
ExclusionException
- : 排他エラーの場合
java.sql.SQLException
public void updateNoExclusion(java.lang.String tblName, DetailItemsInterface dii) throws java.sql.SQLException
updateNoExclusion
method : update TABLE items by PrimaryKey.
tblName
- a String
: テーブル名dii
- a DetailItemsInterface
java.sql.SQLException
public void delete(java.lang.String tblName, DetailItemsInterface dii) throws ExclusionException, java.sql.SQLException
delete
method : delete instance by PrimaryKey.
tblName
- a String
: テーブル名dii
- a DetailItemsInterface
ExclusionException
- : 排他エラーの場合
java.sql.SQLException
- if an error occurspublic void deleteNoExclusion(java.lang.String tblName, DetailItemsInterface dii) throws java.sql.SQLException
deleteNoExclusion
method : delete TABLE items by PrimaryKey.
tblName
- a String
: テーブル名dii
- a DetailItemsInterface
java.sql.SQLException
public final void setDebug()
argDebug
- debug を設定します。
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |