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

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

public class ServiceModelFactoryImpl
extends java.lang.Object
implements ServiceModelFactory

ServiceModelFactoryの実装クラスです。

作成者:
taedium

フィールドの概要
protected  ClassModelSupport classModelSupport
          クラスモデルのサポート
protected static java.lang.String DEFAULT_JDBC_MANAGER_NAME
          デフォルトのJdbcManagerのコンポーネント名
protected  GeneratedModelSupport generatedModelSupport
          生成モデルのサポート
protected  java.lang.String jdbcManagerName
          JdbcManagerのコンポーネント名
protected  NamesModelFactory namesModelFactory
          名前モデルのファクトリ
protected  java.lang.String packageName
          パッケージ名、デフォルトパッケージの場合はnull
protected  java.lang.String serviceClassNameSuffix
          サービスクラス名のサフィックス
protected  boolean useNamesClass
          名前クラスを使用する場合true
 
コンストラクタの概要
ServiceModelFactoryImpl(java.lang.String packageName, java.lang.String serviceClassNameSuffix, NamesModelFactory namesModelFactory, boolean useNamesClass, java.lang.String jdbcManagerName)
          インスタンスを構築します。
 
メソッドの概要
protected  void doGeneratedInfo(ServiceModel serviceModel, EntityMeta entityMeta)
          生成情報を処理します。
protected  void doImportName(ServiceModel serviceModel, EntityMeta entityMeta)
          インポート名を処理します。
protected  void doNamesModel(ServiceModel serviceModel, EntityMeta entityMeta)
          名前モデルを処理します。
 ServiceModel getServiceModel(EntityMeta entityMeta)
          サービスモデルを返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

DEFAULT_JDBC_MANAGER_NAME

protected static java.lang.String DEFAULT_JDBC_MANAGER_NAME
デフォルトのJdbcManagerのコンポーネント名


packageName

protected java.lang.String packageName
パッケージ名、デフォルトパッケージの場合はnull


jdbcManagerName

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


serviceClassNameSuffix

protected java.lang.String serviceClassNameSuffix
サービスクラス名のサフィックス


namesModelFactory

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


useNamesClass

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


classModelSupport

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


generatedModelSupport

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

コンストラクタの詳細

ServiceModelFactoryImpl

public ServiceModelFactoryImpl(java.lang.String packageName,
                               java.lang.String serviceClassNameSuffix,
                               NamesModelFactory namesModelFactory,
                               boolean useNamesClass,
                               java.lang.String jdbcManagerName)
インスタンスを構築します。

パラメータ:
packageName - パッケージ名、デフォルトパッケージの場合はnull
namesModelFactory - 名前モデルのファクトリ
serviceClassNameSuffix - サービスクラス名のサフィックス
useNamesClass - 名前クラスを使用する場合true
jdbcManagerName - JdbcManagerのコンポーネント名
メソッドの詳細

getServiceModel

public ServiceModel getServiceModel(EntityMeta entityMeta)
インタフェース ServiceModelFactory の記述:
サービスモデルを返します。

定義:
インタフェース ServiceModelFactory 内の getServiceModel
パラメータ:
entityMeta - エンティティメタデータ
戻り値:
サービスモデル

doNamesModel

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

パラメータ:
serviceModel - サービスモデル
entityMeta - エンティティメタデータ

doImportName

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

パラメータ:
serviceModel - サービスモデル
entityMeta - エンティティメタデータ

doGeneratedInfo

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

パラメータ:
serviceModel - サービスモデル
entityMeta - エンティティメタデータ


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