public class DefaultNameConverter extends Object implements BeanDbNameConverter
Constructor and Description |
---|
DefaultNameConverter() |
Modifier and Type | Method and Description |
---|---|
String |
dbFieldNameToPropertyName(String dbName)
数据库字段名转化为属性名
|
String |
dbTableNameToTypeName(String dbName)
数据库表名转换为类型名
|
String |
propertyNameToDbFieldName(String propertyName)
属性名转化为数据库字段名
|
String |
typeNameToDbTableName(String pojoName)
类型名转换为数据库表名
|
public String dbFieldNameToPropertyName(String dbName)
BeanDbNameConverter
dbFieldNameToPropertyName
in interface BeanDbNameConverter
public String propertyNameToDbFieldName(String propertyName)
BeanDbNameConverter
propertyNameToDbFieldName
in interface BeanDbNameConverter
public String dbTableNameToTypeName(String dbName)
BeanDbNameConverter
dbTableNameToTypeName
in interface BeanDbNameConverter
public String typeNameToDbTableName(String pojoName)
BeanDbNameConverter
typeNameToDbTableName
in interface BeanDbNameConverter
Copyright © 2006–2018 TinyGroup. All rights reserved.