public class BeanOperatorManagerImpl extends Object implements BeanOperatorManager, org.springframework.beans.factory.InitializingBean
COLUMN_NAME, COLUMN_SIZE, DATA_TYPE, DECIMAL_DIGITS, NULLABLE, OPERATOR_MANAGER_BEAN, PK_NAME, TABLE_NAME, TYPE_NAME, XSTEAM_PACKAGE_NAME| Constructor and Description |
|---|
BeanOperatorManagerImpl() |
BeanOperatorManagerImpl(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
boolean |
existsTableByType(String beanType,
String schema)
是否存在参数描述的数据库表
|
BeanDbNameConverter |
getBeanDbNameConverter() |
DBOperator<?> |
getDbOperator()
获取数据操作器
|
DBOperator<?> |
getDbOperator(String schema)
获取数据操作器
|
String |
getMainSchema() |
DBOperator<?> |
getNewDbOperator()
新获取数据操作器
|
DBOperator<?> |
getNewDbOperator(String schema)
获取数据操作器
|
String |
getRealSchema(String schema) |
Relation |
getRelationByBeanType(String beanType)
获取关联描述信息
|
Relation |
getRelationById(String id)
获取关联描述信息
|
TableConfiguration |
getTableConfiguration(String beanType)
根据表名获取表配置信息
|
TableConfiguration |
getTableConfiguration(String beanType,
String schema)
根据表名获取表配置信息
|
TableConfigurationContainer |
getTableConfigurationContainer()
获取表配置信息容器对象
|
public BeanOperatorManagerImpl()
public BeanOperatorManagerImpl(Configuration configuration)
public DBOperator<?> getDbOperator(String schema) throws TinyDbException
BeanOperatorManagergetDbOperator in interface BeanOperatorManagerTinyDbExceptionpublic DBOperator<?> getDbOperator() throws TinyDbException
BeanOperatorManagergetDbOperator in interface BeanOperatorManagerTinyDbExceptionpublic DBOperator<?> getNewDbOperator() throws TinyDbException
BeanOperatorManagergetNewDbOperator in interface BeanOperatorManagerTinyDbExceptionpublic DBOperator<?> getNewDbOperator(String schema) throws TinyDbException
BeanOperatorManagergetNewDbOperator in interface BeanOperatorManagerTinyDbExceptionpublic TableConfiguration getTableConfiguration(String beanType, String schema)
BeanOperatorManagergetTableConfiguration in interface BeanOperatorManagerpublic TableConfiguration getTableConfiguration(String beanType)
BeanOperatorManagergetTableConfiguration in interface BeanOperatorManagerpublic TableConfigurationContainer getTableConfigurationContainer()
BeanOperatorManagergetTableConfigurationContainer in interface BeanOperatorManagerpublic Relation getRelationById(String id)
BeanOperatorManagergetRelationById in interface BeanOperatorManagerid - 描述信息的唯一标识符public Relation getRelationByBeanType(String beanType)
BeanOperatorManagergetRelationByBeanType in interface BeanOperatorManagerpublic boolean existsTableByType(String beanType, String schema)
BeanOperatorManagerexistsTableByType in interface BeanOperatorManagerpublic BeanDbNameConverter getBeanDbNameConverter()
getBeanDbNameConverter in interface BeanOperatorManagerpublic String getMainSchema()
getMainSchema in interface BeanOperatorManagerCopyright © 2006–2018 TinyGroup. All rights reserved.