org.seasar.extension.jdbc.gen.desc
クラス EntityDesc

java.lang.Object
  上位を拡張 org.seasar.extension.jdbc.gen.desc.EntityDesc

public class EntityDesc
extends java.lang.Object

エンティティ記述です。

作成者:
taedium

フィールドの概要
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
 

フィールドの詳細

name

protected java.lang.String name
名前


catalogName

protected java.lang.String catalogName
カタログ名


schemaName

protected java.lang.String schemaName
スキーマ名


tableName

protected java.lang.String tableName
テーブル名


compositeId

protected boolean compositeId
複合識別子をもつならばtrue


comment

protected java.lang.String comment
コメント


attributeDescList

protected java.util.List<AttributeDesc> attributeDescList
属性記述のリスト


idAttributeDescList

protected java.util.List<AttributeDesc> idAttributeDescList
識別子である属性記述のリスト


associationDescList

protected java.util.List<AssociationDesc> associationDescList
関連記述のリスト


compositeUniqueConstraintDescList

protected java.util.List<CompositeUniqueConstraintDesc> compositeUniqueConstraintDescList
一意制約記述のリスト

コンストラクタの詳細

EntityDesc

public EntityDesc()
インスタンスを構築します。

メソッドの詳細

getName

public java.lang.String getName()
名前を返します。

戻り値:
名前

setName

public void setName(java.lang.String name)
名前を設定します。

パラメータ:
name - 名前

getCatalogName

public java.lang.String getCatalogName()
カタログ名を返します。

戻り値:
カタログ名

setCatalogName

public void setCatalogName(java.lang.String catalogName)
カタログ名を設定します。

パラメータ:
catalogName - カタログ名

getSchemaName

public java.lang.String getSchemaName()
スキーマ名を返します

戻り値:
スキーマ名

setSchemaName

public void setSchemaName(java.lang.String schemaName)
スキーマ名を設定します。

パラメータ:
schemaName - スキーマ名

getTableName

public java.lang.String getTableName()
テーブル名を返します。

戻り値:
テーブル名

setTableName

public void setTableName(java.lang.String tableName)
テーブル名を設定します。

パラメータ:
tableName - テーブル名

getFullTableName

public java.lang.String getFullTableName()
完全なテーブル名を返します。

戻り値:
完全なテーブル名

getComment

public java.lang.String getComment()
コメントを返します。

戻り値:
コメント

setComment

public void setComment(java.lang.String comment)
コメントを設定します。

パラメータ:
comment - コメント

addAttributeDesc

public void addAttributeDesc(AttributeDesc attributeDesc)
属性記述を追加します。

パラメータ:
attributeDesc - 属性記述

getAttributeDescList

public java.util.List<AttributeDesc> getAttributeDescList()
属性記述のリストを返します。

戻り値:
属性記述のリスト

hasAttributeDesc

public boolean hasAttributeDesc(java.lang.String attributeName)
指定された属性名の属性記述を持っている場合trueを返します。

パラメータ:
attributeName - 属性名
戻り値:
指定された属性名の属性記述を持っている場合true、そうでない場合false

getIdAttributeDescList

public java.util.List<AttributeDesc> getIdAttributeDescList()
識別子である属性記述のリストを返します。

戻り値:
識別子である属性記述のリスト

getAssociationDescList

public java.util.List<AssociationDesc> getAssociationDescList()
関連記述のリストを返します。

戻り値:
関連記述のリスト

addAssociationDesc

public void addAssociationDesc(AssociationDesc associationDesc)
関連記述を追加します。

パラメータ:
associationDesc - 関連記述

hasAssociationDesc

public boolean hasAssociationDesc(java.lang.String associationName)
指定された関連名の関連記述を持っている場合trueを返します。

パラメータ:
associationName - 関連名
戻り値:
指定された関連名の関連記述を持っている場合true、そうでない場合false

getCompositeUniqueConstraintDescList

public java.util.List<CompositeUniqueConstraintDesc> getCompositeUniqueConstraintDescList()
複合一意制約記述のリストを返します。

戻り値:
複合一意制約記述のリスト

addCompositeUniqueConstraintDesc

public void addCompositeUniqueConstraintDesc(CompositeUniqueConstraintDesc compositeUniqueConstraintDesc)
複合一意制約記述を追加します。

パラメータ:
compositeUniqueConstraintDesc - 複合一意制約記述

hasCompositeId

public boolean hasCompositeId()
複合識別子を持つならばtrueを返します。

戻り値:
複合識別子を持つならばtrue、そうでないならばfalse


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