org.seasar.doma.jdbc.domain
クラス DomainTypeFactory

java.lang.Object
  上位を拡張 org.seasar.doma.jdbc.domain.DomainTypeFactory

public final class DomainTypeFactory
extends Object

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

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

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

コンストラクタの詳細

DomainTypeFactory

public DomainTypeFactory()
メソッドの詳細

getDomainType

public static <V,D> DomainType<V,D> getDomainType(Class<D> domainClass)
DomainType のインスタンスを生成します。

型パラメータ:
V - ドメインクラスが扱う値の型
D - ドメインクラスの型
パラメータ:
domainClass - ドメインクラス
戻り値:
DomainType のインスタンス
例外:
DomaNullPointerException - 引数が null の場合
DomaIllegalArgumentException - ドメインクラスに Domain もしくは EnumDomain が注釈されていない場合
DomainTypeNotFoundException - ドメインクラスに対応するメタクラスが見つからない場合


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