类 ShardingModel
- java.lang.Object
-
- org.sagacity.sqltoy.config.model.ShardingModel
-
- 所有已实现的接口:
Serializable
public class ShardingModel extends Object implements Serializable
- 版本:
- v1.0,Date:2017年11月6日
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ShardingModel()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DataSourcegetDataSource()StringgetDataSourceName()StringgetTableName()voidsetDataSource(DataSource dataSource)voidsetDataSourceName(String dataSourceName)voidsetTableName(String tableName)
-
-
-
方法详细资料
-
getDataSourceName
public String getDataSourceName()
- 返回:
- the dataSourceName
-
setDataSourceName
public void setDataSourceName(String dataSourceName)
- 参数:
dataSourceName- the dataSourceName to set
-
getDataSource
public DataSource getDataSource()
- 返回:
- the dataSource
-
setDataSource
public void setDataSource(DataSource dataSource)
- 参数:
dataSource- the dataSource to set
-
getTableName
public String getTableName()
- 返回:
- the tableName
-
setTableName
public void setTableName(String tableName)
- 参数:
tableName- the tableName to set
-
-