|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.unitedfront2.domain.SimpleTableModule<D>
D - ドメインクラスpublic abstract class SimpleTableModule<D>
テーブルモジュールの抽象クラスです。この抽象クラスは、次のようなドメインクラスに対して有効です。
SimpleFindable| フィールドの概要 | |
|---|---|
protected Log |
logger
ログ |
| コンストラクタの概要 | |
|---|---|
SimpleTableModule()
|
|
| メソッドの概要 | |
|---|---|
boolean |
exist(int id)
主キーに対応するドメインオブジェクトが存在するか判定します。 |
D |
find(int id)
主キーの値を引数として渡し、ドメインオブジェクトを取得します。 |
D |
get(int id)
主キーの値を引数として渡し、ドメインオブジェクトを取得します。 |
protected abstract SimpleFindable<D> |
getSimpleDao()
データアクセスオブジェクトを取得します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final Log logger
| コンストラクタの詳細 |
|---|
public SimpleTableModule()
| メソッドの詳細 |
|---|
public D find(int id)
null を返します。
id - 主キー
nullpublic boolean exist(int id)
id - 主キー
true 、存在しないなら
false
public D get(int id)
throws IllegalArgumentException
IllegalArgumentException を発生させます。
id - 主キー
IllegalArgumentException - ドメインオブジェクトが見つからないprotected abstract SimpleFindable<D> getSimpleDao()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||