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

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

public class DatabaseDescFactoryImpl
extends java.lang.Object
implements DatabaseDescFactory

DatabaseDescFactoryの実装です。

作成者:
taedium

フィールドの概要
protected  GenDialect dialect
          方言
protected  EntityMetaFactory entityMetaFactory
          エンティティメタデータのファクトリ
protected  EntityMetaReader entityMetaReader
          エンティティメタデータのリーダ
protected  boolean regardRelationshipAsFk
          関連を外部キーとみなす場合true、みなさない場合false
protected  TableDescFactory tableDescFactory
          テーブル記述のファクトリ
protected  ValueTypeProvider valueTypeProvider
          ValueTypeの提供者
 
コンストラクタの概要
DatabaseDescFactoryImpl(EntityMetaFactory entityMetaFactory, EntityMetaReader entityMetaReader, GenDialect dialect, ValueTypeProvider valueTypeProvider, boolean regardRelationshipAsFk)
          インスタンスを構築します。
 
メソッドの概要
protected  ColumnDescFactory createColumnDescFactory()
          ColumnDescFactoryの実装を返します。
protected  ForeignKeyDescFactory createForeignKeyDescFactory()
          ForeignKeyDescFactoryImplの実装を返します。
protected  IdTableDescFactory createIdTableDescFactory(UniqueKeyDescFactory ukFactory)
          IdTableDescFactoryの実装を返します。
protected  PrimaryKeyDescFactory createPrimaryKeyDescFactory()
          PrimaryKeyDescFactoryの実装を返します。
protected  SequenceDescFactory createSequenceDescFactory()
          SequenceDescFactoryの実装を返します。
protected  TableDescFactory createTableDescFactory()
          テーブル記述のファクトリを作成します。
protected  UniqueKeyDescFactory createUniqueKeyDescFactory()
          UniqueKeyDescFactoryの実装を返します。
 DatabaseDesc getDatabaseDesc()
          データベース記述を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

entityMetaFactory

protected EntityMetaFactory entityMetaFactory
エンティティメタデータのファクトリ


entityMetaReader

protected EntityMetaReader entityMetaReader
エンティティメタデータのリーダ


dialect

protected GenDialect dialect
方言


valueTypeProvider

protected ValueTypeProvider valueTypeProvider
ValueTypeの提供者


regardRelationshipAsFk

protected boolean regardRelationshipAsFk
関連を外部キーとみなす場合true、みなさない場合false


tableDescFactory

protected TableDescFactory tableDescFactory
テーブル記述のファクトリ

コンストラクタの詳細

DatabaseDescFactoryImpl

public DatabaseDescFactoryImpl(EntityMetaFactory entityMetaFactory,
                               EntityMetaReader entityMetaReader,
                               GenDialect dialect,
                               ValueTypeProvider valueTypeProvider,
                               boolean regardRelationshipAsFk)
インスタンスを構築します。

パラメータ:
entityMetaFactory - エンティティメタデータのファクトリ
entityMetaReader - エンティティメタデータのリーダ
dialect - 方言
valueTypeProvider - ValueTypeの提供者
regardRelationshipAsFk - 関連を外部キーとみなす場合true、みなさない場合false
メソッドの詳細

getDatabaseDesc

public DatabaseDesc getDatabaseDesc()
インタフェース DatabaseDescFactory の記述:
データベース記述を返します。

定義:
インタフェース DatabaseDescFactory 内の getDatabaseDesc
戻り値:
データベース記述

createTableDescFactory

protected TableDescFactory createTableDescFactory()
テーブル記述のファクトリを作成します。

戻り値:
テーブル記述のファクトリ

createColumnDescFactory

protected ColumnDescFactory createColumnDescFactory()
ColumnDescFactoryの実装を返します。

戻り値:
ColumnDescFactoryの実装

createPrimaryKeyDescFactory

protected PrimaryKeyDescFactory createPrimaryKeyDescFactory()
PrimaryKeyDescFactoryの実装を返します。

戻り値:
PrimaryKeyDescFactoryの実装

createUniqueKeyDescFactory

protected UniqueKeyDescFactory createUniqueKeyDescFactory()
UniqueKeyDescFactoryの実装を返します。

戻り値:
UniqueKeyDescFactoryの実装

createForeignKeyDescFactory

protected ForeignKeyDescFactory createForeignKeyDescFactory()
ForeignKeyDescFactoryImplの実装を返します。

戻り値:
ForeignKeyDescFactoryImplの実装

createSequenceDescFactory

protected SequenceDescFactory createSequenceDescFactory()
SequenceDescFactoryの実装を返します。

戻り値:
SequenceDescFactoryの実装

createIdTableDescFactory

protected IdTableDescFactory createIdTableDescFactory(UniqueKeyDescFactory ukFactory)
IdTableDescFactoryの実装を返します。

パラメータ:
ukFactory - 一意キー記述のファクトリ
戻り値:
IdTableDescFactoryの実装


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