public class TableConfigSet extends Object implements ITableConfigSet
| 构造器和说明 |
|---|
TableConfigSet(GlobalConfig globalConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(TableConfigSet tc)
增加表设置
|
void |
foreach(Consumer<TableSetter> consumer)
对所有表统一处理
|
TableSetter |
getTableSetter(String tableName)
返回表设置
|
void |
initRelations()
初始化关联关系
|
void |
initTables()
获取所有的数据库表信息
|
ITableConfigSet |
table(String tableName)
增加表tableName映射关系
|
ITableConfigSet |
table(String tableName,
Consumer<TableSetter> consumer)
增加表tableName映射关系
|
public TableConfigSet(GlobalConfig globalConfig)
public ITableConfigSet table(String tableName)
ITableConfigSettable 在接口中 ITableConfigSettableName - 表名public ITableConfigSet table(String tableName, Consumer<TableSetter> consumer)
ITableConfigSettable 在接口中 ITableConfigSettableName - 表名consumer - setter consumerpublic void foreach(Consumer<TableSetter> consumer)
ITableConfigSetforeach 在接口中 ITableConfigSetconsumer - setter consumerpublic TableSetter getTableSetter(String tableName)
ITableConfigSetgetTableSetter 在接口中 ITableConfigSettableName - 表名public void initTables()
public void initRelations()
public void add(TableConfigSet tc)
tc - TableConfigSetCopyright © 2021. All rights reserved.