org.seasar.doma.jdbc.entity
クラス EntityTypeFactory

java.lang.Object
  上位を拡張 org.seasar.doma.jdbc.entity.EntityTypeFactory

public final class EntityTypeFactory
extends java.lang.Object

EntityType のファクトリクラスです。

導入されたバージョン:
1.8.0
作成者:
taedium

コンストラクタの概要
EntityTypeFactory()
           
 
メソッドの概要
static
<E> EntityType<E>
getEntityType(java.lang.Class<E> entityClass)
          EntityType のインスタンスを生成します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EntityTypeFactory

public EntityTypeFactory()
メソッドの詳細

getEntityType

public static <E> EntityType<E> getEntityType(java.lang.Class<E> entityClass)
EntityType のインスタンスを生成します。

型パラメータ:
E - エンティティの型
パラメータ:
entityClass - エンティティクラス
戻り値:
EntityType のインスタンス
例外:
DomaNullPointerException - 引数が null の場合
DomaIllegalArgumentException - エンティティクラスに Entity が注釈されていない場合
EntityTypeNotFoundException - エンティティクラスに対応するメタクラスが見つからない場合


Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.