|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.gen.model.GeneratedModel
org.seasar.extension.jdbc.gen.model.DdlModel
org.seasar.extension.jdbc.gen.model.TableModel
public class TableModel
テーブルのモデルです。
| フィールドの概要 | |
|---|---|
protected java.util.List<ColumnModel> |
columnModelList
カラムモデルのリスト |
protected java.lang.String |
comment
コメント |
protected java.util.List<ForeignKeyModel> |
foreignKeyModelList
外部キーモデルのリスト |
protected PrimaryKeyModel |
primaryKeyModel
主キーモデル |
protected java.util.List<SequenceModel> |
sequenceModelList
シーケンスモデルのリスト |
protected java.lang.String |
tableOption
テーブルオプション |
protected java.util.List<UniqueKeyModel> |
uniqueKeyModelList
一意キーモデルのリスト |
| クラス org.seasar.extension.jdbc.gen.model.DdlModel から継承されたフィールド |
|---|
canonicalTableName, delimiter, dialect, name, sqlIdentifierCaseType, sqlKeywordCaseType, useComment |
| クラス org.seasar.extension.jdbc.gen.model.GeneratedModel から継承されたフィールド |
|---|
generatedInfoList |
| コンストラクタの概要 | |
|---|---|
TableModel()
|
|
| メソッドの概要 | |
|---|---|
void |
addColumnModel(ColumnModel columnModel)
カラムモデルを追加します。 |
void |
addForeignKeyModel(ForeignKeyModel foreignKeyModel)
外部キーモデルを追加します。 |
void |
addSequenceModel(SequenceModel sequenceModel)
シーケンスモデルを追加します。 |
void |
addUniqueKeyModel(UniqueKeyModel uniqueKeyModel)
一意キーモデルを追加します。 |
java.util.List<ColumnModel> |
getColumnModelList()
カラムモデルのリストを返します。 |
java.lang.String |
getComment()
コメントを返します。 |
java.util.List<ForeignKeyModel> |
getForeignKeyModelList()
外部キーモデルのリストを返します。 |
PrimaryKeyModel |
getPrimaryKeyModel()
主キーモデルを返します。 |
java.util.List<SequenceModel> |
getSequenceModelList()
シーケンスモデルのリストを返します。 |
java.lang.String |
getTableOption()
テーブルオプションを返します。 |
java.util.List<UniqueKeyModel> |
getUniqueKeyModelList()
一意キーモデルのリストを返します。 |
void |
setComment(java.lang.String comment)
コメントを設定します。 |
void |
setPrimaryKeyModel(PrimaryKeyModel primaryKeyModel)
主キーモデルを設定します。 |
void |
setTableOption(java.lang.String tableOption)
テーブルオプションを設定します。 |
| クラス org.seasar.extension.jdbc.gen.model.DdlModel から継承されたメソッド |
|---|
getCanonicalTableName, getDelimiter, getDialect, getName, getSqlIdentifierCaseType, getSqlKeywordCaseType, identifier, isCommentInCreateTableSupported, isCommentOnSupported, isUseComment, keyword, setCanonicalTableName, setDelimiter, setDialect, setName, setSqlIdentifierCaseType, setSqlKeywordCaseType, setUseComment |
| クラス org.seasar.extension.jdbc.gen.model.GeneratedModel から継承されたメソッド |
|---|
addGeneratedInfo, getGeneratedInfoList |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected java.lang.String tableOption
protected java.lang.String comment
protected PrimaryKeyModel primaryKeyModel
protected java.util.List<ForeignKeyModel> foreignKeyModelList
protected java.util.List<UniqueKeyModel> uniqueKeyModelList
protected java.util.List<ColumnModel> columnModelList
protected java.util.List<SequenceModel> sequenceModelList
| コンストラクタの詳細 |
|---|
public TableModel()
| メソッドの詳細 |
|---|
public java.lang.String getTableOption()
public void setTableOption(java.lang.String tableOption)
tableOption - テーブルオプションpublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - コメントpublic PrimaryKeyModel getPrimaryKeyModel()
public void setPrimaryKeyModel(PrimaryKeyModel primaryKeyModel)
primaryKeyModel - 主キーモデルpublic java.util.List<ForeignKeyModel> getForeignKeyModelList()
public void addForeignKeyModel(ForeignKeyModel foreignKeyModel)
foreignKeyModel - 外部キーモデルのリストpublic java.util.List<UniqueKeyModel> getUniqueKeyModelList()
public void addUniqueKeyModel(UniqueKeyModel uniqueKeyModel)
uniqueKeyModel - 一意キーモデルpublic java.util.List<ColumnModel> getColumnModelList()
public void addColumnModel(ColumnModel columnModel)
columnModel - カラムモデルのリストpublic java.util.List<SequenceModel> getSequenceModelList()
public void addSequenceModel(SequenceModel sequenceModel)
sequenceModel - シーケンスモデルのリスト
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||