public class EntityDescFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ClassDescSupport |
classDescSupport |
protected EntityPropertyDescFactory |
entityPropertyDescFactory |
protected org.seasar.doma.gradle.codegen.desc.EntityPropertyDescMerger |
entityPropertyDescMerger |
protected NamingType |
namingType |
protected java.lang.String |
originalStatesPropertyName |
protected java.lang.String |
packageName |
protected boolean |
showCatalogName |
protected boolean |
showDbComment |
protected boolean |
showSchemaName |
protected boolean |
showTableName |
protected java.lang.Class<?> |
superclass |
protected boolean |
useAccessor |
protected boolean |
useListener |
protected boolean |
useMappedSuperclass |
protected boolean |
useMetamodel |
| Constructor and Description |
|---|
EntityDescFactory(java.lang.String packageName,
java.lang.Class<?> superclass,
EntityPropertyDescFactory entityPropertyDescFactory,
NamingType namingType,
java.lang.String originalStatesPropertyName,
boolean showCatalogName,
boolean showSchemaName,
boolean showTableName,
boolean showDbComment,
boolean useAccessor,
boolean useListener,
boolean useMetamodel,
boolean useMappedSuperclass) |
| Modifier and Type | Method and Description |
|---|---|
EntityDesc |
createEntityDesc(TableMeta tableMeta) |
EntityDesc |
createEntityDesc(TableMeta tableMeta,
java.lang.String entityPrefix,
java.lang.String entitySuffix) |
EntityDesc |
createEntityDesc(TableMeta tableMeta,
java.lang.String entityPrefix,
java.lang.String entitySuffix,
java.lang.String simpleName) |
protected void |
handleEntityPropertyDesc(EntityDesc entityDesc,
TableMeta tableMeta) |
protected void |
handleImportName(EntityDesc entityDesc,
TableMeta tableMeta) |
protected void |
handleShowTableName(EntityDesc entityDesc,
TableMeta tableMeta) |
protected boolean |
isNameDifferentBetweenEntityAndTable(EntityDesc entityDesc) |
protected final java.lang.String packageName
protected final EntityPropertyDescFactory entityPropertyDescFactory
protected final NamingType namingType
protected java.lang.String originalStatesPropertyName
protected final boolean showCatalogName
protected final boolean showSchemaName
protected final boolean showTableName
protected final boolean showDbComment
protected final boolean useAccessor
protected final boolean useListener
protected final boolean useMetamodel
protected final boolean useMappedSuperclass
protected final java.lang.Class<?> superclass
protected final org.seasar.doma.gradle.codegen.desc.EntityPropertyDescMerger entityPropertyDescMerger
protected final ClassDescSupport classDescSupport
public EntityDescFactory(java.lang.String packageName,
java.lang.Class<?> superclass,
EntityPropertyDescFactory entityPropertyDescFactory,
NamingType namingType,
java.lang.String originalStatesPropertyName,
boolean showCatalogName,
boolean showSchemaName,
boolean showTableName,
boolean showDbComment,
boolean useAccessor,
boolean useListener,
boolean useMetamodel,
boolean useMappedSuperclass)
public EntityDesc createEntityDesc(TableMeta tableMeta)
public EntityDesc createEntityDesc(TableMeta tableMeta, java.lang.String entityPrefix, java.lang.String entitySuffix)
public EntityDesc createEntityDesc(TableMeta tableMeta, java.lang.String entityPrefix, java.lang.String entitySuffix, java.lang.String simpleName)
protected void handleShowTableName(EntityDesc entityDesc, TableMeta tableMeta)
protected boolean isNameDifferentBetweenEntityAndTable(EntityDesc entityDesc)
protected void handleEntityPropertyDesc(EntityDesc entityDesc, TableMeta tableMeta)
protected void handleImportName(EntityDesc entityDesc, TableMeta tableMeta)