org.seasar.extension.jdbc.gen.internal.desc
クラス EntityDescFactoryImpl

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

public class EntityDescFactoryImpl
extends java.lang.Object
implements EntityDescFactory

EntityDescFactoryの実装クラスです。

作成者:
taedium

フィールドの概要
protected  AttributeDescFactory attributeDescFactory
          属性記述のファクトリ
protected  CompositeUniqueConstraintDescFactory compositeUniqueConstraintDescFactory
          複合一意制約記述のファクトリ
protected  PersistenceConvention persistenceConvention
          永続化層の命名規約
protected  boolean schemaSpecified
          スキーマが指定されている場合true
 
コンストラクタの概要
EntityDescFactoryImpl(PersistenceConvention persistenceConvention, AttributeDescFactory attributeDescFactory, CompositeUniqueConstraintDescFactory compositeUniqueConstraintDescFactory)
          インスタンスを生成します。
 
メソッドの概要
protected  void doAttributeDesc(DbTableMeta tableMeta, EntityDesc entityDesc)
          属性記述を処理します。
protected  void doCompositeUniqueConstraintDesc(DbTableMeta tableMeta, EntityDesc entityDesc)
          複合一意制約記述を処理します。
protected  void doName(DbTableMeta tableMeta, EntityDesc entityDesc)
          名前を処理します。
protected  void doTable(DbTableMeta tableMeta, EntityDesc entityDesc)
          テーブルを処理します。
 EntityDesc getEntityDesc(DbTableMeta tableMeta)
          エンティティ記述を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

persistenceConvention

protected PersistenceConvention persistenceConvention
永続化層の命名規約


attributeDescFactory

protected AttributeDescFactory attributeDescFactory
属性記述のファクトリ


compositeUniqueConstraintDescFactory

protected CompositeUniqueConstraintDescFactory compositeUniqueConstraintDescFactory
複合一意制約記述のファクトリ


schemaSpecified

protected boolean schemaSpecified
スキーマが指定されている場合true

コンストラクタの詳細

EntityDescFactoryImpl

public EntityDescFactoryImpl(PersistenceConvention persistenceConvention,
                             AttributeDescFactory attributeDescFactory,
                             CompositeUniqueConstraintDescFactory compositeUniqueConstraintDescFactory)
インスタンスを生成します。

パラメータ:
persistenceConvention - 永続化層の命名規約
compositeUniqueConstraintDescFactory - 複合一意制約記述のファクトリ
attributeDescFactory - 属性記述のファクトリ
メソッドの詳細

getEntityDesc

public EntityDesc getEntityDesc(DbTableMeta tableMeta)
インタフェース EntityDescFactory の記述:
エンティティ記述を返します。

定義:
インタフェース EntityDescFactory 内の getEntityDesc
パラメータ:
tableMeta - テーブルメタデータ
戻り値:
エンティティ記述

doName

protected void doName(DbTableMeta tableMeta,
                      EntityDesc entityDesc)
名前を処理します。

パラメータ:
tableMeta - テーブルメタ情報
entityDesc - エンティティ記述

doTable

protected void doTable(DbTableMeta tableMeta,
                       EntityDesc entityDesc)
テーブルを処理します。

パラメータ:
tableMeta - テーブルメタ情報
entityDesc - エンティティ記述

doAttributeDesc

protected void doAttributeDesc(DbTableMeta tableMeta,
                               EntityDesc entityDesc)
属性記述を処理します。

パラメータ:
tableMeta - テーブルメタデータ
entityDesc - エンティティ記述

doCompositeUniqueConstraintDesc

protected void doCompositeUniqueConstraintDesc(DbTableMeta tableMeta,
                                               EntityDesc entityDesc)
複合一意制約記述を処理します。

パラメータ:
tableMeta - テーブルメタデータ
entityDesc - エンティティ記述


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