|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.extension.gen.TableMeta
public class TableMeta
データベースのテーブルメタデータです。
フィールドの概要 | |
---|---|
protected String |
catalogName
カタログ名 |
protected List<ColumnMeta> |
columnMetas
カラムメタデータのリスト |
protected String |
comment
コメント |
protected String |
name
名前 |
protected List<ColumnMeta> |
primaryKeyColumnMetas
主キーのカラムメタデータのリスト |
protected String |
schemaName
スキーマ名 |
コンストラクタの概要 | |
---|---|
TableMeta()
|
メソッドの概要 | |
---|---|
void |
addColumnMeta(ColumnMeta columnMeta)
カラムのメタデータを追加します。 |
String |
getCatalogName()
カタログ名を返します。 |
List<ColumnMeta> |
getColumnMetas()
カラムのメタデータのリストを返します。 |
String |
getComment()
コメントを返します。 |
String |
getName()
名前を返します。 |
List<ColumnMeta> |
getPrimaryKeyColumnMetas()
主キーのカラムメタデータのリストを返します。 |
String |
getQualifiedTableName()
完全なテーブル名を返します。 |
String |
getSchemaName()
スキーマ名を返します |
boolean |
hasCompositePrimaryKey()
複合主キーを持つ場合 true を返します。 |
void |
setCatalogName(String catalogName)
カタログ名を設定します。 |
void |
setComment(String comment)
コメントを設定します。 |
void |
setName(String name)
名前を設定します。 |
void |
setSchemaName(String schemaName)
スキーマ名を設定します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected String catalogName
protected String schemaName
protected String name
protected String comment
protected final List<ColumnMeta> columnMetas
protected final List<ColumnMeta> primaryKeyColumnMetas
コンストラクタの詳細 |
---|
public TableMeta()
メソッドの詳細 |
---|
public String getCatalogName()
public void setCatalogName(String catalogName)
catalogName
- カタログ名public String getSchemaName()
public void setSchemaName(String schemaName)
schemaName
- スキーマ名public String getName()
public void setName(String name)
name
- 名前public String getComment()
public void setComment(String comment)
comment
- コメントpublic List<ColumnMeta> getColumnMetas()
public void addColumnMeta(ColumnMeta columnMeta)
columnMeta
- カラム記述public List<ColumnMeta> getPrimaryKeyColumnMetas()
public String getQualifiedTableName()
public boolean hasCompositePrimaryKey()
true
を返します。
true
、そうでない場合false
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |