|
||||||||||
前 次 | フレームあり フレームなし |
EntityDesc を使用しているパッケージ | |
---|---|
org.seasar.doma.extension.gen | データモデルやデータモデルのファクトリクラスを提供します。 |
org.seasar.doma.extension.gen.task | Antのタスク、データ型、列挙型を提供します。 |
org.seasar.doma.extension.gen での EntityDesc の使用 |
---|
EntityDesc として宣言されている org.seasar.doma.extension.gen のフィールド | |
---|---|
protected EntityDesc |
SqlDesc.entityDesc
エンティティ記述 |
protected EntityDesc |
DaoDesc.entityDesc
エンティティ記述 |
EntityDesc を返す org.seasar.doma.extension.gen のメソッド | |
---|---|
EntityDesc |
EntityDescFactory.createEntityDesc(TableMeta tableMeta)
エンティティ記述を作成します。 |
EntityDesc |
SqlDesc.getEntityDesc()
エンティティ記述を返します。 |
EntityDesc |
DaoDesc.getEntityDesc()
エンティティ記述を返します。 |
EntityDesc 型のパラメータを持つ org.seasar.doma.extension.gen のメソッド | |
---|---|
DaoDesc |
DaoDescFactory.createDaoDesc(EntityDesc entityDesc)
Dao記述を作成します。 |
EntityListenerDesc |
EntityListenerDescFactory.createEntityListenerDesc(EntityDesc entityDesc)
エンティティ記述を作成します。 |
EntityPropertyDesc |
EntityPropertyDescFactory.createEntityPropertyDesc(EntityDesc entityDesc,
ColumnMeta columnMeta)
エンティティプロパティ記述を作成します。 |
protected SqlDesc |
SqlDescFactory.createSqlDesc(EntityDesc entityDesc,
String fileName,
String templateName)
SQL記述を返します。 |
List<SqlDesc> |
SqlDescFactory.createSqlDescs(EntityDesc entityDesc)
SQL記述のリストを返します。 |
protected void |
EntityPropertyDescFactory.descriminateType(EntityDesc entityDesc,
EntityPropertyDesc propertyDesc,
ColumnMeta columnMeta)
数値かどうかを処理します。 |
protected void |
EntityDescFactory.handleEntityPropertyDesc(EntityDesc entityDesc,
TableMeta tableMeta)
エンティティプロパティ記述を処理します。 |
protected void |
DaoDescFactory.handleImportName(DaoDesc daoDesc,
EntityDesc entityDesc)
インポート名を処理します。 |
protected void |
EntityDescFactory.handleImportName(EntityDesc entityDesc,
TableMeta tableMeta)
インポート名を処理します。 |
protected void |
EntityListenerDescFactory.handleImportName(EntityListenerDesc entityListenerDesc,
EntityDesc entityDesc)
/** インポート名を処理します。 |
protected void |
EntityPropertyDescFactory.handleName(EntityDesc entityDesc,
EntityPropertyDesc propertyDesc,
ColumnMeta columnMeta)
名前を処理します。 |
protected void |
EntityPropertyDescFactory.handlePropertyClassName(EntityDesc entityDesc,
EntityPropertyDesc propertyDesc,
ColumnMeta columnMeta)
プロパティクラス名を処理します。 |
protected void |
EntityPropertyDescFactory.handleShowColumnName(EntityDesc entityDesc,
EntityPropertyDesc propertyDesc,
ColumnMeta columnMeta)
カラム名を表示するかどうかを処理します。 |
protected void |
EntityDescFactory.handleShowTableName(EntityDesc entityDesc,
TableMeta tableMeta)
カタログ名を表示するかどうか処理します。 |
protected void |
EntityDescFactory.handleSimpleName(EntityDesc entityDesc,
TableMeta tableMeta)
単純名を処理します。 |
protected void |
EntityPropertyDescFactory.handleVersion(EntityDesc entityDesc,
EntityPropertyDesc propertyDesc,
ColumnMeta columnMeta)
バージョンを処理します。 |
protected boolean |
EntityDescFactory.isNameDifferentBetweenEntityAndTable(EntityDesc entityDesc)
エンティティ名とテーブル名が異なる場合 true を返します。 |
protected boolean |
EntityPropertyDescFactory.isNameDifferentBetweenPropertyAndColumn(EntityDesc entityDesc,
EntityPropertyDesc propertyDesc)
プロパティ名とカラム名が異なる場合 true を返します。 |
String |
EntityPropertyClassNameResolver.resolve(EntityDesc entityDesc,
String propertyName,
String defaultPropertyClassName)
エンティティプロパティのクラス名を解決します。 |
void |
SqlDesc.setEntityDesc(EntityDesc entityDesc)
エンティティ記述を設定します。 |
void |
DaoDesc.setEntityDesc(EntityDesc entityDesc)
エンティティ記述を設定します。 |
org.seasar.doma.extension.gen.task での EntityDesc の使用 |
---|
EntityDesc 型のパラメータを持つ org.seasar.doma.extension.gen.task のメソッド | |
---|---|
protected void |
Gen.generateEntity(EntityDesc entityDesc)
エンティティのJavaコードを生成します。 |
|
||||||||||
前 次 | フレームあり フレームなし |