public class NormalStyle extends Object implements Style
DEFAULT_STYLE_KEY, LOWER, LOWER_UNDERSCORE, NORMAL, styleMap, UPPER, UPPER_UNDERSCORE| Constructor and Description |
|---|
NormalStyle() |
| Modifier and Type | Method and Description |
|---|---|
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()
Stylepublic String tableName(Class<?> entityClass)
Stylepublic String columnName(EntityTable entityTable, EntityField field)
StylecolumnName in interface StyleCopyright © 2022. All rights reserved.