|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.gen.internal.model.EntityModelFactoryImpl
public class EntityModelFactoryImpl
EntityModelFactory
の実装クラスです。
フィールドの概要 | |
---|---|
protected AssociationModelFactory |
associationModelFactory
関連モデルのファクトリ |
protected AttributeModelFactory |
attributeModelFactory
属性モデルのファクトリ |
protected ClassModelSupport |
classModelSupport
クラスモデルのサポート |
protected CompositeUniqueConstraintModelFactory |
compositeUniqueConstraintModelFactory
複合一意制約モデルのファクトリ |
protected GeneratedModelSupport |
generatedModelSupport
生成モデルのサポート |
protected BeanDesc |
mappedSuperclassBeanDesc
superclass がMappedSuperclass である場合そのクラスのBean記述、そうでない場合
null |
protected java.lang.String |
packageName
パッケージ名、デフォルトパッケージの場合は null |
protected boolean |
showCatalogName
カタログ名を表示する場合 true |
protected boolean |
showSchemaName
スキーマ名を表示する場合 true |
protected boolean |
showTableName
テーブル名を表示する場合 true |
protected java.lang.Class<?> |
superclass
エンティティのスーパークラス、スーパークラスを持たない場合は null |
protected boolean |
useAccessor
エンティティクラスでアクセサを使用する場合 true |
protected boolean |
useComment
コメントを使用する場合 true |
コンストラクタの概要 | |
---|---|
EntityModelFactoryImpl(java.lang.String packageName,
java.lang.Class<?> superclass,
AttributeModelFactory attributeModelFactory,
AssociationModelFactory associationModelFactory,
CompositeUniqueConstraintModelFactory compositeUniqueConstraintModelFactory,
boolean useAccessor,
boolean useComment,
boolean showCatalogName,
boolean showSchemaName,
boolean showTableName)
インスタンスを構築しますl |
メソッドの概要 | |
---|---|
protected void |
doAssociationModel(EntityModel entityModel,
EntityDesc entityDesc)
関連モデルを処理します。 |
protected void |
doAttributeModel(EntityModel entityModel,
EntityDesc entityDesc)
属性モデルを処理します。 |
protected void |
doCompositeUniqueConstraintModel(EntityModel entityModel,
EntityDesc entityDesc)
複合一意制約モデルを処理します。 |
protected void |
doGeneratedInfo(EntityModel entityModel,
EntityDesc entityDesc)
生成情報を処理します。 |
protected void |
doImportName(EntityModel model,
EntityDesc entityDesc)
インポート名を処理します。 |
EntityModel |
getEntityModel(EntityDesc entityDesc)
エンティティクラスのモデルを返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.lang.String packageName
null
protected AttributeModelFactory attributeModelFactory
protected AssociationModelFactory associationModelFactory
protected CompositeUniqueConstraintModelFactory compositeUniqueConstraintModelFactory
protected boolean useAccessor
true
protected boolean useComment
true
protected boolean showCatalogName
true
protected boolean showSchemaName
true
protected boolean showTableName
true
protected java.lang.Class<?> superclass
null
protected BeanDesc mappedSuperclassBeanDesc
superclass
がMappedSuperclass
である場合そのクラスのBean記述、そうでない場合
null
protected ClassModelSupport classModelSupport
protected GeneratedModelSupport generatedModelSupport
コンストラクタの詳細 |
---|
public EntityModelFactoryImpl(java.lang.String packageName, java.lang.Class<?> superclass, AttributeModelFactory attributeModelFactory, AssociationModelFactory associationModelFactory, CompositeUniqueConstraintModelFactory compositeUniqueConstraintModelFactory, boolean useAccessor, boolean useComment, boolean showCatalogName, boolean showSchemaName, boolean showTableName)
packageName
- パッケージ名、デフォルトパッケージの場合はnull
superclass
- エンティティのスーパークラス、スーパークラスを持たない場合はnull
attributeModelFactory
- 属性モデルのファクトリassociationModelFactory
- 関連モデルのファクトリcompositeUniqueConstraintModelFactory
- 複合一意制約モデルのファクトリuseAccessor
- エンティティクラスでアクセサを使用する場合 true
useComment
- コメントを使用する場合true
showCatalogName
- カタログ名を表示する場合true
showSchemaName
- スキーマ名を表示する場合true
showTableName
- テーブル名を表示する場合true
メソッドの詳細 |
---|
public EntityModel getEntityModel(EntityDesc entityDesc)
EntityModelFactory
の記述:
EntityModelFactory
内の getEntityModel
entityDesc
- エンティティ記述
protected void doAttributeModel(EntityModel entityModel, EntityDesc entityDesc)
entityModel
- エンティティモデルentityDesc
- エンティティ記述protected void doAssociationModel(EntityModel entityModel, EntityDesc entityDesc)
entityModel
- エンティティモデルentityDesc
- エンティティ記述protected void doCompositeUniqueConstraintModel(EntityModel entityModel, EntityDesc entityDesc)
entityModel
- エンティティモデルentityDesc
- エンティティ記述protected void doImportName(EntityModel model, EntityDesc entityDesc)
model
- エンティティクラスのモデルentityDesc
- エンティティ記述protected void doGeneratedInfo(EntityModel entityModel, EntityDesc entityDesc)
entityModel
- エンティティモデルentityDesc
- エンティティ記述
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |