org.seasar.doma.jdbc.entity
クラス EntityTypeFactory
java.lang.Object
org.seasar.doma.jdbc.entity.EntityTypeFactory
public final class EntityTypeFactory
- extends Object
EntityType のファクトリクラスです。
- 導入されたバージョン:
- 1.8.0
- 作成者:
- taedium
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityTypeFactory
public EntityTypeFactory()
getEntityType
public static <E> EntityType<E> getEntityType(Class<E> entityClass)
EntityType のインスタンスを生成します。
- 型パラメータ:
E - エンティティの型- パラメータ:
entityClass - エンティティクラス
- 戻り値:
EntityType のインスタンス
- 例外:
DomaNullPointerException - 引数が null の場合
DomaIllegalArgumentException - エンティティクラスに Entity が注釈されていない場合
EntityTypeNotFoundException - エンティティクラスに対応するメタクラスが見つからない場合
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.