|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.gen.model.GeneratedModel
org.seasar.extension.jdbc.gen.model.ClassModel
org.seasar.extension.jdbc.gen.model.EntityModel
public class EntityModel
エンティティクラスのモデルです。
| フィールドの概要 | |
|---|---|
protected java.util.List<AssociationModel> |
associationModelList
関連モデルのリスト |
protected java.util.List<AttributeModel> |
attributeModelList
属性モデルのリスト |
protected java.lang.String |
catalogName
カタログ名 |
protected java.lang.String |
comment
コメント |
protected boolean |
compositeId
複合識別子を持つ場合 true |
protected java.util.List<CompositeUniqueConstraintModel> |
compositeUniqueConstraintModelList
複合一意制約モデルのリスト |
protected java.lang.String |
schemaName
スキーマ名 |
protected java.lang.String |
shortSuperclassName
スーパークラスの単純名 |
protected java.lang.String |
tableName
テーブル名 |
protected boolean |
useAccessor
エンティティクラスでアクセサを使用する場合 true |
protected boolean |
useComment
コメントを使用する場合 true |
| クラス org.seasar.extension.jdbc.gen.model.ClassModel から継承されたフィールド |
|---|
importNameSet, packageName, shortClassName, staticImportNameSet |
| クラス org.seasar.extension.jdbc.gen.model.GeneratedModel から継承されたフィールド |
|---|
generatedInfoList |
| コンストラクタの概要 | |
|---|---|
EntityModel()
|
|
| メソッドの概要 | |
|---|---|
void |
addAssociationModel(AssociationModel associationModel)
関連モデルを追加します。 |
void |
addAttributeModel(AttributeModel attributeModel)
属性モデルを追加します。 |
void |
addCompositeUniqueConstraintModel(CompositeUniqueConstraintModel compositeUniqueConstraintModel)
複合一意制約モデルを追加します。 |
java.util.List<AssociationModel> |
getAssociationModelList()
関連モデルのリストを返します。 |
java.util.List<AttributeModel> |
getAttributeModelList()
属性モデルを返します。 |
java.lang.String |
getCatalogName()
カタログ名を返します。 |
java.lang.String |
getComment()
コメントを返します。 |
java.util.List<CompositeUniqueConstraintModel> |
getCompositeUniqueConstraintModelList()
複合一意制約モデルのリストを返します。 |
java.lang.String |
getSchemaName()
スキーマ名を返します。 |
java.lang.String |
getShortSuperclassName()
スーパークラスの単純名を返します。 |
java.lang.String |
getTableName()
テーブル名を返します。 |
boolean |
hasCompositeId()
複合識別子を持つ場合 trueを返します。 |
boolean |
isUseAccessor()
エンティティクラスでアクセサを使用する場合 trueを返します。 |
boolean |
isUseComment()
コメントを使用する場合 trueを返します。 |
void |
setCatalogName(java.lang.String catalogName)
カタログ名を設定します。 |
void |
setComment(java.lang.String comment)
コメントを設定します。 |
void |
setCompositeId(boolean compositeId)
複合識別子を持つ場合 trueを設定します。 |
void |
setSchemaName(java.lang.String schemaName)
スキーマ名を設定します。 |
void |
setShortSuperclassName(java.lang.String shortSuperclassName)
スーパークラスの単純名を設定します。 |
void |
setTableName(java.lang.String tableName)
テーブル名を設定します。 |
void |
setUseAccessor(boolean useAccessor)
エンティティクラスでアクセサを使用する場合 trueを設定します。 |
void |
setUseComment(boolean useComment)
コメントを使用する場合 trueを設定します。 |
| クラス org.seasar.extension.jdbc.gen.model.ClassModel から継承されたメソッド |
|---|
addImportName, addStaticImportName, getImportNameSet, getPackageName, getShortClassName, getStaticImportNameSet, setPackageName, setShortClassName |
| クラス 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 catalogName
protected java.lang.String schemaName
protected java.lang.String tableName
protected java.lang.String shortSuperclassName
protected boolean compositeId
true
protected boolean useAccessor
true
protected boolean useComment
true
protected java.lang.String comment
protected java.util.List<AttributeModel> attributeModelList
protected java.util.List<AssociationModel> associationModelList
protected java.util.List<CompositeUniqueConstraintModel> compositeUniqueConstraintModelList
| コンストラクタの詳細 |
|---|
public EntityModel()
| メソッドの詳細 |
|---|
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 getShortSuperclassName()
public void setShortSuperclassName(java.lang.String shortSuperclassName)
shortSuperclassName - スーパークラスの単純名public java.util.List<AttributeModel> getAttributeModelList()
public void addAttributeModel(AttributeModel attributeModel)
attributeModel - 属性モデルpublic java.util.List<AssociationModel> getAssociationModelList()
public void addAssociationModel(AssociationModel associationModel)
associationModel - 関連モデルpublic java.util.List<CompositeUniqueConstraintModel> getCompositeUniqueConstraintModelList()
public void addCompositeUniqueConstraintModel(CompositeUniqueConstraintModel compositeUniqueConstraintModel)
compositeUniqueConstraintModel - 複合一意制約モデルpublic boolean hasCompositeId()
trueを返します。
truepublic void setCompositeId(boolean compositeId)
trueを設定します。
compositeId - 複合識別子を持つ場合truepublic boolean isUseAccessor()
trueを返します。
truepublic void setUseAccessor(boolean useAccessor)
trueを設定します。
useAccessor - エンティティクラスでアクセサを使用する場合 truepublic boolean isUseComment()
trueを返します。
truepublic void setUseComment(boolean useComment)
trueを設定します。
useComment - コメントを使用する場合 truepublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - コメント
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||