类 TypeMetadata
- java.lang.Object
-
- com.github.kaizen4j.mybatis.gener.support.TypeMetadata
-
public final class TypeMetadata extends Object
- 作者:
- liuguowen
-
-
字段概要
字段 修饰符和类型 字段 说明 private Configurationconfigurationprivate static StringSTART_WITH_IS_PREFIXprivate TableMetadatatableMetadataprivate List<TypeDescriptor>typeDescriptors
-
构造器概要
构造器 构造器 说明 TypeMetadata(TableMetadata tableMetadata, Configuration configuration)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancontainsNotPrimaryColumns()是否包含非主键列字段booleancontainsPrimaryKey()private StringgetCamelName()StringgetEntityAbsoluteFileName()StringgetEntityBuildPath()StringgetEntityFullName()StringgetEntityLowerCamelName()StringgetEntityName()StringgetEntityPackage()StringgetMapperAbsoluteFileName()StringgetMapperInterfaceAbsoluteFileName()StringgetMapperInterfaceFullName()StringgetMapperInterfaceName()StringgetMapperInterfacePackage()StringgetMapperName()List<TypeDescriptor>getPrimaryKeyTypeDescriptors()StringgetTableName()List<TypeDescriptor>getTypeDescriptors()private List<TypeDescriptor>initTypeDescriptors()booleanisMapperInterfaceForcedUpdate()booleanisTable()private StringtoMethodName(String columnName)private StringtoPropertyName(String columnName)private StringwrapColumnName(String columnName)
-
-
-
字段详细资料
-
tableMetadata
private final TableMetadata tableMetadata
-
typeDescriptors
private final List<TypeDescriptor> typeDescriptors
-
configuration
private final Configuration configuration
-
-
构造器详细资料
-
TypeMetadata
public TypeMetadata(TableMetadata tableMetadata, Configuration configuration)
-
-
方法详细资料
-
getEntityName
public String getEntityName()
-
getEntityPackage
public String getEntityPackage()
-
getEntityFullName
public String getEntityFullName()
-
getEntityAbsoluteFileName
public String getEntityAbsoluteFileName()
-
getEntityBuildPath
public String getEntityBuildPath()
-
getEntityLowerCamelName
public String getEntityLowerCamelName()
-
getMapperInterfaceName
public String getMapperInterfaceName()
-
getMapperInterfacePackage
public String getMapperInterfacePackage()
-
getMapperInterfaceFullName
public String getMapperInterfaceFullName()
-
getMapperInterfaceAbsoluteFileName
public String getMapperInterfaceAbsoluteFileName()
-
isMapperInterfaceForcedUpdate
public boolean isMapperInterfaceForcedUpdate()
-
getMapperName
public String getMapperName()
-
getMapperAbsoluteFileName
public String getMapperAbsoluteFileName()
-
getTableName
public String getTableName()
-
getTypeDescriptors
public List<TypeDescriptor> getTypeDescriptors()
-
containsPrimaryKey
public boolean containsPrimaryKey()
-
isTable
public boolean isTable()
-
containsNotPrimaryColumns
public boolean containsNotPrimaryColumns()
是否包含非主键列字段- 返回:
- 包含返回true
-
getPrimaryKeyTypeDescriptors
public List<TypeDescriptor> getPrimaryKeyTypeDescriptors()
-
initTypeDescriptors
private List<TypeDescriptor> initTypeDescriptors()
-
getCamelName
private String getCamelName()
-
-