public class UnitIntramartDBMapper extends IntramartDBMapper implements UnitMapper
コンストラクタと説明 |
---|
UnitIntramartDBMapper() |
修飾子とタイプ | メソッドと説明 |
---|---|
UnitBaseModel |
create(String unitCode)
プライマリキーに該当する単位を生成します。
|
void |
delete(Collection models)
単位の基本モデルを複数削除します。
|
void |
delete(UnitBaseModel model)
単位の基本モデルを1つだけ削除します。
|
protected String |
getApplicationName()
単位に対して定義されているアプリケーション名を取得します。
|
protected String |
getEntityName()
単位に対して定義されているエンティティ名を取得します。
|
void |
insert(Collection models)
単位の基本モデルを複数挿入します。
|
void |
insert(UnitBaseModel model)
単位の基本モデルを1つだけ挿入します。
|
UnitBaseModel |
select(String unitCode)
プライマリーキーで特定される単位の基本モデルを取得します。
|
void |
update(Collection models)
単位の基本モデルを複数更新します。
|
void |
update(UnitBaseModel model)
単位の基本モデルを1つだけ更新します。
|
checkByBaseProperty, close, createBaseAccessor, createBaseModel, delete, init, insert, isClosed, notifyDelete, notifyUpdate, select, select, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkByBaseProperty, close, createBaseModel, init, isClosed, notifyDelete, notifyUpdate, select
protected String getApplicationName()
getApplicationName
クラス内 IntramartDBMapper
protected String getEntityName()
getEntityName
クラス内 IntramartDBMapper
public UnitBaseModel create(String unitCode) throws MapperException
create
インタフェース内 UnitMapper
unitCode
- 単位コードMapperException
- モデルの生成に失敗した場合public UnitBaseModel select(String unitCode) throws MapperException
select
インタフェース内 UnitMapper
unitCode
- 単位コードMapperException
- 検索で例外が発生した場合public void insert(UnitBaseModel model) throws MapperException
UnitMapper
の create(String)
で生成されたものである必要があります。insert
インタフェース内 UnitMapper
model
- 挿入する単位の基本モデルMapperException
- 挿入で何らかの例外が発生した場合public void insert(Collection models) throws MapperException
UnitMapper
の create(String)
で生成された単位の基本モデルの集合である必要があります。insert
インタフェース内 UnitMapper
insert
クラス内 IntramartDBMapper
models
- 挿入する単位の基本モデルの集合MapperException
- 挿入で何らかの例外が発生した場合public void update(UnitBaseModel model) throws MapperException
UnitMapper
の select
系メソッド
から取得されたもので生成されたものである必要があります。update
インタフェース内 UnitMapper
model
- 更新する単位の基本モデルMapperException
- 更新で何らかの例外が発生した場合public void update(Collection models) throws MapperException
UnitMapper
の select
系メソッド
から取得されたものかで生成された単位の基本モデルの集合である必要があります。update
インタフェース内 UnitMapper
update
クラス内 IntramartDBMapper
models
- 更新する単位の基本モデルの集合MapperException
- 更新で何らかの例外が発生した場合public void delete(UnitBaseModel model) throws MapperException
UnitMapper
の select
系メソッド から取得されたものである必要があります。delete
インタフェース内 UnitMapper
model
- 削除する単位の基本モデルMapperException
- 削除で何らかの例外が発生した場合public void delete(Collection models) throws MapperException
UnitMapper
の select
系メソッド から取得された単位基本モデルの集合である必要があります。delete
インタフェース内 UnitMapper
delete
クラス内 IntramartDBMapper
models
- 削除する単位の基本モデルの集合MapperException
- 削除で何らかの例外が発生した場合Copyright © 2012 NTT DATA INTRAMART CORPORATION