|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.gen.desc.EntityDesc
public class EntityDesc
エンティティ記述です。
フィールドの概要 | |
---|---|
protected java.util.List<AssociationDesc> |
associationDescList
関連記述のリスト |
protected java.util.List<AttributeDesc> |
attributeDescList
属性記述のリスト |
protected java.lang.String |
catalogName
カタログ名 |
protected java.lang.String |
comment
コメント |
protected boolean |
compositeId
複合識別子をもつならば true |
protected java.util.List<CompositeUniqueConstraintDesc> |
compositeUniqueConstraintDescList
一意制約記述のリスト |
protected java.util.List<AttributeDesc> |
idAttributeDescList
識別子である属性記述のリスト |
protected java.lang.String |
name
名前 |
protected java.lang.String |
schemaName
スキーマ名 |
protected java.lang.String |
tableName
テーブル名 |
コンストラクタの概要 | |
---|---|
EntityDesc()
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
void |
addAssociationDesc(AssociationDesc associationDesc)
関連記述を追加します。 |
void |
addAttributeDesc(AttributeDesc attributeDesc)
属性記述を追加します。 |
void |
addCompositeUniqueConstraintDesc(CompositeUniqueConstraintDesc compositeUniqueConstraintDesc)
複合一意制約記述を追加します。 |
java.util.List<AssociationDesc> |
getAssociationDescList()
関連記述のリストを返します。 |
java.util.List<AttributeDesc> |
getAttributeDescList()
属性記述のリストを返します。 |
java.lang.String |
getCatalogName()
カタログ名を返します。 |
java.lang.String |
getComment()
コメントを返します。 |
java.util.List<CompositeUniqueConstraintDesc> |
getCompositeUniqueConstraintDescList()
複合一意制約記述のリストを返します。 |
java.lang.String |
getFullTableName()
完全なテーブル名を返します。 |
java.util.List<AttributeDesc> |
getIdAttributeDescList()
識別子である属性記述のリストを返します。 |
java.lang.String |
getName()
名前を返します。 |
java.lang.String |
getSchemaName()
スキーマ名を返します |
java.lang.String |
getTableName()
テーブル名を返します。 |
boolean |
hasAssociationDesc(java.lang.String associationName)
指定された関連名の関連記述を持っている場合 true を返します。 |
boolean |
hasAttributeDesc(java.lang.String attributeName)
指定された属性名の属性記述を持っている場合 true を返します。 |
boolean |
hasCompositeId()
複合識別子を持つならば true を返します。 |
void |
setCatalogName(java.lang.String catalogName)
カタログ名を設定します。 |
void |
setComment(java.lang.String comment)
コメントを設定します。 |
void |
setName(java.lang.String name)
名前を設定します。 |
void |
setSchemaName(java.lang.String schemaName)
スキーマ名を設定します。 |
void |
setTableName(java.lang.String tableName)
テーブル名を設定します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.lang.String name
protected java.lang.String catalogName
protected java.lang.String schemaName
protected java.lang.String tableName
protected boolean compositeId
true
protected java.lang.String comment
protected java.util.List<AttributeDesc> attributeDescList
protected java.util.List<AttributeDesc> idAttributeDescList
protected java.util.List<AssociationDesc> associationDescList
protected java.util.List<CompositeUniqueConstraintDesc> compositeUniqueConstraintDescList
コンストラクタの詳細 |
---|
public EntityDesc()
メソッドの詳細 |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- 名前public java.lang.String getCatalogName()
public void setCatalogName(java.lang.String catalogName)
catalogName
- カタログ名public java.lang.String getSchemaName()
public void setSchemaName(java.lang.String schemaName)
schemaName
- スキーマ名public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- テーブル名public java.lang.String getFullTableName()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- コメントpublic void addAttributeDesc(AttributeDesc attributeDesc)
attributeDesc
- 属性記述public java.util.List<AttributeDesc> getAttributeDescList()
public boolean hasAttributeDesc(java.lang.String attributeName)
true
を返します。
attributeName
- 属性名
true
、そうでない場合false
public java.util.List<AttributeDesc> getIdAttributeDescList()
public java.util.List<AssociationDesc> getAssociationDescList()
public void addAssociationDesc(AssociationDesc associationDesc)
associationDesc
- 関連記述public boolean hasAssociationDesc(java.lang.String associationName)
true
を返します。
associationName
- 関連名
true
、そうでない場合false
public java.util.List<CompositeUniqueConstraintDesc> getCompositeUniqueConstraintDescList()
public void addCompositeUniqueConstraintDesc(CompositeUniqueConstraintDesc compositeUniqueConstraintDesc)
compositeUniqueConstraintDesc
- 複合一意制約記述public boolean hasCompositeId()
true
を返します。
true
、そうでないならばfalse
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |