public final class TypeMetadata extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private Configuration |
configuration |
private static String |
START_WITH_IS_PREFIX |
private TableMetadata |
tableMetadata |
private List<TypeDescriptor> |
typeDescriptors |
| 构造器和说明 |
|---|
TypeMetadata(TableMetadata tableMetadata,
Configuration configuration) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsNotPrimaryColumns()
是否包含非主键列字段
|
boolean |
containsPrimaryKey() |
private String |
getCamelName() |
String |
getEntityAbsoluteFileName() |
String |
getEntityBuildPath() |
String |
getEntityFullName() |
String |
getEntityLowerCamelName() |
String |
getEntityName() |
String |
getEntityPackage() |
String |
getMapperAbsoluteFileName() |
String |
getMapperInterfaceAbsoluteFileName() |
String |
getMapperInterfaceFullName() |
String |
getMapperInterfaceName() |
String |
getMapperInterfacePackage() |
String |
getMapperName() |
List<TypeDescriptor> |
getPrimaryKeyTypeDescriptors() |
String |
getTableName() |
List<TypeDescriptor> |
getTypeDescriptors() |
private List<TypeDescriptor> |
initTypeDescriptors() |
boolean |
isMapperInterfaceForcedUpdate() |
boolean |
isTable() |
private String |
toMethodName(String columnName) |
private String |
toPropertyName(String columnName) |
private String |
wrapColumnName(String columnName) |
private TableMetadata tableMetadata
private List<TypeDescriptor> typeDescriptors
private Configuration configuration
public TypeMetadata(TableMetadata tableMetadata, Configuration configuration)
public String getEntityName()
public String getEntityPackage()
public String getEntityFullName()
public String getEntityAbsoluteFileName()
public String getEntityBuildPath()
public String getEntityLowerCamelName()
public String getMapperInterfaceName()
public String getMapperInterfacePackage()
public String getMapperInterfaceFullName()
public String getMapperInterfaceAbsoluteFileName()
public boolean isMapperInterfaceForcedUpdate()
public String getMapperName()
public String getMapperAbsoluteFileName()
public String getTableName()
public List<TypeDescriptor> getTypeDescriptors()
public boolean containsPrimaryKey()
public boolean isTable()
public boolean containsNotPrimaryColumns()
public List<TypeDescriptor> getPrimaryKeyTypeDescriptors()
private List<TypeDescriptor> initTypeDescriptors()
private String getCamelName()
Copyright © 2022. All rights reserved.