|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.extension.gen.ClassDesc
org.seasar.doma.extension.gen.EntityDesc
public class EntityDesc
エンティティ記述です。
フィールドの概要 | |
---|---|
protected String |
catalogName
カタログ名 |
protected boolean |
compositeId
複合識別子を持つ場合 true |
protected List<EntityPropertyDesc> |
entityPropertyDescs
エンティティプロパティ記述のリスト 親エンティティがある場合に、親エンティティのプロパティも対象になります。 |
protected List<EntityPropertyDesc> |
idEntityPropertyDescs
識別子のエンティティプロパティ記述のリスト |
protected String |
listenerClassSimpleName
リスナークラスの単純名 |
protected NamingType |
namingType
ネーミング規約 |
protected String |
originalStatesPropertyName
元のステートを表すプロパティの名前 |
protected List<EntityPropertyDesc> |
ownEntityPropertyDescs
このエンティティ記述が表すエンティティが所有するエンティティプロパティ記述のリスト 親エンティティがある場合に、親エンティティのプロパティは対象外となります。 |
protected String |
qualifiedTableName
テーブルの完全修飾名 |
protected String |
schemaName
スキーマ名 |
protected boolean |
showCatalogName
カタログ名を表示する場合 true |
protected boolean |
showDbComment
データベースのコメントを表示する場合 true |
protected boolean |
showSchemaName
スキーマ名を表示する場合 true |
protected boolean |
showTableName
テーブル名を表示する場合 true |
protected String |
superclassSimpleName
スーパークラスの単純名 |
protected String |
tableName
テーブル名 |
protected String |
templateName
テンプレート名 |
protected boolean |
useAccessor
アクセッサーを使用する場合 true |
protected boolean |
useListener
エンティティリスナーを使用する場合 true |
protected EntityPropertyDesc |
versionEntityPropertyDesc
バージョンのエンティティプロパティ記述 |
クラス org.seasar.doma.extension.gen.ClassDesc から継承されたフィールド |
---|
comment, importNames, packageName, simpleName |
コンストラクタの概要 | |
---|---|
EntityDesc()
|
メソッドの概要 | |
---|---|
void |
addEntityPropertyDesc(EntityPropertyDesc entityPropertyDesc)
エンティティプロパティ記述を追加します。 |
String |
getCatalogName()
カタログ名を返します。 |
List<EntityPropertyDesc> |
getEntityPropertyDescs()
エンティティプロパティ記述のリストを返します。 |
List<EntityPropertyDesc> |
getIdEntityPropertyDescs()
識別子のエンティティプロパティ記述のリストを返します。 |
String |
getListenerClassSimpleName()
リスナークラスの単純名を返します。 |
NamingType |
getNamingType()
ネーミング規約を返します。 |
String |
getOriginalStatesPropertyName()
元のステートを表すプロパティの名前を返します。 |
List<EntityPropertyDesc> |
getOwnEntityPropertyDescs()
所有するエンティティプロパティ記述のリストを返します。 |
String |
getQualifiedTableName()
テーブルの完全修飾名を返します。 |
String |
getSchemaName()
スキーマ名を返します。 |
String |
getSuperclassSimpleName()
スーパークラスの単純名を返します。 |
String |
getTableName()
テーブル名 を返します。 |
String |
getTemplateName()
テンプレート名を返します。 |
EntityPropertyDesc |
getVersionEntityPropertyDesc()
バージョンのエンティティプロパティ記述を返します。 |
boolean |
isCompositeId()
複合識別子を持つ場合 true を返します。 |
boolean |
isShowCatalogName()
カタログ名を表示する場合 true を返します。 |
boolean |
isShowDbComment()
データベースのコメントを表示する場合 true を返します。 |
boolean |
isShowSchemaName()
スキーマ名を表示する場合 true を返します。 |
boolean |
isShowTableName()
テーブル名を表示する場合 true を返します。 |
boolean |
isUseAccessor()
アクセッサーを使用する場合 true を返します。 |
boolean |
isUseListener()
エンティティリスナーを使用する場合 true を返します。 |
void |
setCatalogName(String catalogName)
カタログ名を設定します。 |
void |
setCompositeId(boolean compositeId)
複合識別子を持つ場合 true を設定します。 |
void |
setListenerClassSimpleName(String listenerClassSimpleName)
リスナークラスの単純名を設定します。 |
void |
setNamingType(NamingType namingType)
ネーミング規約を設定します。 |
void |
setOriginalStatesPropertyName(String originalStatesPropertyName)
元のステートを表すプロパティの名前を設定します。 |
void |
setQualifiedTableName(String qualifiedTableName)
テーブルの完全修飾名 |
void |
setSchemaName(String schemaName)
スキーマ名を設定します。 |
void |
setShowCatalogName(boolean showCatalogName)
カタログ名を表示する場合 true を設定します。 |
void |
setShowDbComment(boolean showDbComment)
データベースのコメントを表示する場合 true を設定します。 |
void |
setShowSchemaName(boolean showSchemaName)
スキーマ名を表示する場合 true を設定します。 |
void |
setShowTableName(boolean showTableName)
テーブル名を表示する場合 true を設定します。 |
void |
setSuperclassSimpleName(String superclassSimpleName)
スーパークラスの単純名を設定します。 |
void |
setTableName(String tableName)
テーブル名 を設定します。 |
void |
setTemplateName(String templateName)
テンプレート名を設定します。 |
void |
setUseAccessor(boolean useAccessor)
アクセッサーを使用する場合 true を設定します。 |
void |
setUseListener(boolean useListener)
エンティティリスナーを使用する場合 true を返します。 |
クラス org.seasar.doma.extension.gen.ClassDesc から継承されたメソッド |
---|
addImportName, getComment, getImportNames, getPackageName, getQualifiedName, getSimpleName, setComment, setPackageName, setSimpleName |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected String catalogName
protected String schemaName
protected String tableName
protected String qualifiedTableName
protected String superclassSimpleName
protected String listenerClassSimpleName
protected NamingType namingType
protected String originalStatesPropertyName
protected boolean compositeId
true
protected boolean showCatalogName
true
protected boolean showSchemaName
true
protected boolean showTableName
true
protected boolean useAccessor
true
protected boolean useListener
true
protected boolean showDbComment
true
protected String templateName
protected final List<EntityPropertyDesc> entityPropertyDescs
親エンティティがある場合に、親エンティティのプロパティも対象になります。
protected final List<EntityPropertyDesc> ownEntityPropertyDescs
親エンティティがある場合に、親エンティティのプロパティは対象外となります。
protected final List<EntityPropertyDesc> idEntityPropertyDescs
protected EntityPropertyDesc versionEntityPropertyDesc
コンストラクタの詳細 |
---|
public EntityDesc()
メソッドの詳細 |
---|
public void setTemplateName(String templateName)
templateName
- テンプレート名public String getTemplateName()
public void setCatalogName(String catalogName)
catalogName
- カタログ名public String getCatalogName()
public void setSchemaName(String schemaName)
schemaName
- スキーマ名public String getSchemaName()
public void setTableName(String tableName)
tableName
- テーブル名public String getTableName()
public String getSuperclassSimpleName()
public void setSuperclassSimpleName(String superclassSimpleName)
superclassSimpleName
- スーパークラスの単純名public String getListenerClassSimpleName()
public void setListenerClassSimpleName(String listenerClassSimpleName)
listenerClassSimpleName
- リスナークラスの単純名public NamingType getNamingType()
public void setNamingType(NamingType namingType)
namingType
- ネーミング規約public String getOriginalStatesPropertyName()
public void setOriginalStatesPropertyName(String originalStatesPropertyName)
originalStatesPropertyName
- 元のステートを表すプロパティの名前public void setCompositeId(boolean compositeId)
true
を設定します。
compositeId
- 複合識別子を持つ場合 true
public boolean isCompositeId()
true
を返します。
true
public boolean isShowCatalogName()
true
を返します。
true
public void setShowCatalogName(boolean showCatalogName)
true
を設定します。
showCatalogName
- カタログ名を表示する場合 true
public boolean isShowSchemaName()
true
を返します。
true
public void setShowSchemaName(boolean showSchemaName)
true
を設定します。
showSchemaName
- スキーマ名を表示する場合 true
public boolean isShowTableName()
true
を返します。
true
public void setShowTableName(boolean showTableName)
true
を設定します。
showTableName
- テーブル名を表示する場合 true
public boolean isUseAccessor()
true
を返します。
true
public void setUseAccessor(boolean useAccessor)
true
を設定します。
useAccessor
- アクセッサーを使用する場合 true
public boolean isUseListener()
true
を返します。
true
public void setUseListener(boolean useListener)
true
を返します。
useListener
- エンティティリスナーを使用する場合 true
public boolean isShowDbComment()
true
を返します。
true
public void setShowDbComment(boolean showDbComment)
true
を設定します。
showDbComment
- データベースのコメントを表示する場合 true
public void addEntityPropertyDesc(EntityPropertyDesc entityPropertyDesc)
entityPropertyDesc
- エンティティプロパティ記述public List<EntityPropertyDesc> getEntityPropertyDescs()
public List<EntityPropertyDesc> getOwnEntityPropertyDescs()
public List<EntityPropertyDesc> getIdEntityPropertyDescs()
public EntityPropertyDesc getVersionEntityPropertyDesc()
public String getQualifiedTableName()
public void setQualifiedTableName(String qualifiedTableName)
qualifiedTableName
- テーブルの完全修飾名を設定します。
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |