org.seasar.extension.jdbc.gen.internal.model
クラス EntityTestModelFactoryImpl

java.lang.Object
  上位を拡張 org.seasar.extension.jdbc.gen.internal.model.EntityTestModelFactoryImpl
すべての実装されたインタフェース:
EntityTestModelFactory

public class EntityTestModelFactoryImpl
extends java.lang.Object
implements EntityTestModelFactory

EntityTestModelFactoryの実装クラスです。

作成者:
taedium

フィールドの概要
protected  ClassModelSupport classModelSupport
          クラスモデルのサポート
protected  java.lang.String configPath
          設定ファイルのパス
protected  GeneratedModelSupport generatedModelSupport
          生成モデルのサポート
protected  java.lang.String jdbcManagerName
          JdbcManagerのコンポーネント名
protected  NamesModelFactory namesModelFactory
          名前モデルのファクトリ
protected  java.lang.String testClassNameSuffix
          テストクラス名のサフィックス
protected  boolean useNamesClass
          名前クラスを使用する場合true
protected  boolean useS2junit4
          S2JUnit4を使用する場合true、S2Unitを使用する場合false
 
コンストラクタの概要
EntityTestModelFactoryImpl(java.lang.String configPath, java.lang.String jdbcManagerName, java.lang.String testClassNameSuffix, NamesModelFactory namesModelFactory, boolean useNamesClass, boolean useS2junit4)
          インスタンスを構築します。
 
メソッドの概要
protected  void doAssociationName(EntityTestModel entityTestModel, EntityMeta entityMeta)
          関連名を処理します。
protected  void doGeneratedInfo(EntityTestModel entityTestModel, EntityMeta entityMeta)
          生成情報を処理します。
protected  void doIdValue(EntityTestModel entityTestModel, EntityMeta entityMeta)
          識別子の式を処理します。
protected  void doImportName(EntityTestModel entityTestModel, EntityMeta entityMeta)
          インポート名を処理します。
protected  void doNamesModel(EntityTestModel entityTestModel, EntityMeta entityMeta)
          名前モデルを処理します。
 EntityTestModel getEntityTestModel(EntityMeta entityMeta)
          テストモデルを返します。
protected  java.lang.String getExpression(java.lang.Class<?> propertyClass)
          プロパティのクラスの値を表す式を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

configPath

protected java.lang.String configPath
設定ファイルのパス


jdbcManagerName

protected java.lang.String jdbcManagerName
JdbcManagerのコンポーネント名


testClassNameSuffix

protected java.lang.String testClassNameSuffix
テストクラス名のサフィックス


useS2junit4

protected boolean useS2junit4
S2JUnit4を使用する場合true、S2Unitを使用する場合false


namesModelFactory

protected NamesModelFactory namesModelFactory
名前モデルのファクトリ


useNamesClass

protected boolean useNamesClass
名前クラスを使用する場合true


classModelSupport

protected ClassModelSupport classModelSupport
クラスモデルのサポート


generatedModelSupport

protected GeneratedModelSupport generatedModelSupport
生成モデルのサポート

コンストラクタの詳細

EntityTestModelFactoryImpl

public EntityTestModelFactoryImpl(java.lang.String configPath,
                                  java.lang.String jdbcManagerName,
                                  java.lang.String testClassNameSuffix,
                                  NamesModelFactory namesModelFactory,
                                  boolean useNamesClass,
                                  boolean useS2junit4)
インスタンスを構築します。

パラメータ:
configPath - 設定ファイルのパス
jdbcManagerName - JdbcManagerのコンポーネント名
testClassNameSuffix - テストクラス名のサフィックス
namesModelFactory - 名前モデルのファクトリ
useNamesClass - 名前クラスを使用する場合true
useS2junit4 - S2JUnit4を使用する場合true、S2Unitを使用する場合false
メソッドの詳細

getEntityTestModel

public EntityTestModel getEntityTestModel(EntityMeta entityMeta)
インタフェース EntityTestModelFactory の記述:
テストモデルを返します。

定義:
インタフェース EntityTestModelFactory 内の getEntityTestModel
パラメータ:
entityMeta - エンティティメタデータ
戻り値:
テストモデル

doIdValue

protected void doIdValue(EntityTestModel entityTestModel,
                         EntityMeta entityMeta)
識別子の式を処理します。

パラメータ:
entityTestModel - テストモデル
entityMeta - エンティティメタデータ

getExpression

protected java.lang.String getExpression(java.lang.Class<?> propertyClass)
プロパティのクラスの値を表す式を取得します。

パラメータ:
propertyClass - プロパティのクラス
戻り値:
識別子の式

doAssociationName

protected void doAssociationName(EntityTestModel entityTestModel,
                                 EntityMeta entityMeta)
関連名を処理します。

パラメータ:
entityTestModel - テストモデル
entityMeta - エンティティメタデータ

doNamesModel

protected void doNamesModel(EntityTestModel entityTestModel,
                            EntityMeta entityMeta)
名前モデルを処理します。

パラメータ:
entityTestModel - テストモデル
entityMeta - エンティティメタデータ

doImportName

protected void doImportName(EntityTestModel entityTestModel,
                            EntityMeta entityMeta)
インポート名を処理します。

パラメータ:
entityTestModel - テストモデル
entityMeta - エンティティメタデータ

doGeneratedInfo

protected void doGeneratedInfo(EntityTestModel entityTestModel,
                               EntityMeta entityMeta)
生成情報を処理します。

パラメータ:
entityTestModel - テストモデル
entityMeta - エンティティメタデータ


Copyright © 2004-2014 The Seasar Foundation. All Rights Reserved.