|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.gen.internal.desc.TableDescFactoryImpl
public class TableDescFactoryImpl
TableDescFactoryの実装クラスです。
| フィールドの概要 | |
|---|---|
protected ColumnDescFactory |
columnDescFactory
カラム記述のファクトリ |
protected GenDialect |
dialect
方言 |
protected ForeignKeyDescFactory |
foreignKeyDescFactory
外部キー記述のファクトリ |
protected IdTableDescFactory |
idTableDescFactory
識別子生成用のテーブル記述のファクトリ |
protected PrimaryKeyDescFactory |
primaryKeyDescFactory
主キー記述のファクトリ |
protected SequenceDescFactory |
sequenceDescFactory
シーケンス記述のファクトリ |
protected java.util.concurrent.ConcurrentMap<java.lang.String,TableDesc> |
tableDescMap
テーブルの完全修飾名をキー、テーブル記述を値とするマップ |
protected UniqueKeyDescFactory |
uniqueKeyDescFactory
一意キー記述のファクトリ |
| コンストラクタの概要 | |
|---|---|
TableDescFactoryImpl(GenDialect dialect,
ColumnDescFactory columnDescFactory,
PrimaryKeyDescFactory primaryKeyDescFactory,
UniqueKeyDescFactory uniqueKeyDescFactory,
ForeignKeyDescFactory foreignKeyDescFactory,
SequenceDescFactory sequenceDescFactory,
IdTableDescFactory idTableDescFactory)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
protected java.lang.String |
buildCanonicalName(TableMeta tableMeta)
標準名を組み立てます。 |
protected java.util.Comparator<org.seasar.extension.jdbc.gen.internal.desc.TableDescFactoryImpl.ColumnDescRef> |
createColumnDescRefComparator(TableDesc tableDesc)
カラム記述の Comparatorを作成します。 |
protected TableDesc |
createTableDesc(EntityMeta entityMeta)
テーブル記述を作成します。 |
protected void |
doColumnDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
カラム記述を処理します。 |
protected void |
doComment(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
コメントを処理します。 |
protected void |
doForeignKeyDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
外部キー記述を処理します。 |
protected void |
doIdTableDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
識別子生成用のテーブル記述を処理します。 |
protected void |
doName(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
名前を処理します。 |
protected void |
doPrimaryKeyDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
主キー記述を処理します。 |
protected void |
doSequenceDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
シーケンス記述を処理します。 |
protected void |
doUniqueKeyDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
一意キー記述を処理します。 |
protected Table |
getTable(EntityMeta entityMeta)
テーブルを取得します。 |
TableDesc |
getTableDesc(EntityMeta entityMeta)
テーブル記述を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected java.util.concurrent.ConcurrentMap<java.lang.String,TableDesc> tableDescMap
protected GenDialect dialect
protected ColumnDescFactory columnDescFactory
protected PrimaryKeyDescFactory primaryKeyDescFactory
protected ForeignKeyDescFactory foreignKeyDescFactory
protected UniqueKeyDescFactory uniqueKeyDescFactory
protected SequenceDescFactory sequenceDescFactory
protected IdTableDescFactory idTableDescFactory
| コンストラクタの詳細 |
|---|
public TableDescFactoryImpl(GenDialect dialect,
ColumnDescFactory columnDescFactory,
PrimaryKeyDescFactory primaryKeyDescFactory,
UniqueKeyDescFactory uniqueKeyDescFactory,
ForeignKeyDescFactory foreignKeyDescFactory,
SequenceDescFactory sequenceDescFactory,
IdTableDescFactory idTableDescFactory)
dialect - 方言columnDescFactory - カラム記述のファクトリprimaryKeyDescFactory - 主キー記述のファクトリuniqueKeyDescFactory - 一意キー記述のファクトリforeignKeyDescFactory - 外部キー記述のファクトリsequenceDescFactory - シーケンス記述のファクトリidTableDescFactory - 識別子生成用のテーブル記述のファクトリ| メソッドの詳細 |
|---|
public TableDesc getTableDesc(EntityMeta entityMeta)
TableDescFactory の記述:
TableDescFactory 内の getTableDescentityMeta - エンティティメタデータ
protected TableDesc createTableDesc(EntityMeta entityMeta)
entityMeta - エンティティメタデータ
protected void doName(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブル
protected void doComment(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブルprotected java.lang.String buildCanonicalName(TableMeta tableMeta)
tableMeta - テーブルメタデータ
protected void doColumnDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブル
protected void doPrimaryKeyDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブル
protected void doForeignKeyDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブル
protected void doUniqueKeyDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブル
protected void doSequenceDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブル
protected void doIdTableDesc(EntityMeta entityMeta,
TableDesc tableDesc,
Table table)
entityMeta - エンティティメタデータtableDesc - テーブル記述table - テーブルprotected Table getTable(EntityMeta entityMeta)
entityMeta - エンティティメタデータ
protected java.util.Comparator<org.seasar.extension.jdbc.gen.internal.desc.TableDescFactoryImpl.ColumnDescRef> createColumnDescRefComparator(TableDesc tableDesc)
Comparatorを作成します。
tableDesc - テーブル記述
Comparator
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||