public class LowerUnderscoreStyle extends NormalStyle
DEFAULT_STYLE_KEY, LOWER, LOWER_UNDERSCORE, NORMAL, styleMap, UPPER, UPPER_UNDERSCORE| Constructor and Description |
|---|
LowerUnderscoreStyle() |
| Modifier and Type | Method and Description |
|---|---|
static String |
camelhumpToUnderline(String str)
将驼峰风格替换为下划线风格
|
String |
columnName(EntityTable entityTable,
EntityField field)
转换列名
|
String |
getStyle()
获取样式名,如默认提供的 normal, underline, lower, upper, upperUnderline
|
String |
tableName(Class<?> entityClass)
转换表名
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultStyle, getStylepublic String getStyle()
StylegetStyle in interface StylegetStyle in class NormalStylepublic String tableName(Class<?> entityClass)
StyletableName in interface StyletableName in class NormalStyleentityClass - 实体类public String columnName(EntityTable entityTable, EntityField field)
StylecolumnName in interface StylecolumnName in class NormalStyleCopyright © 2023. All rights reserved.