public class TinyDBServiceImpl extends Object implements TinyDBService
Constructor and Description |
---|
TinyDBServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Bean |
context2Bean(Context c,
String beanType,
List<String> properties,
String schema)
context
从context中获取一个bean对象
|
Bean |
context2Bean(Context c,
String beanType,
String schema)
从context中获取一个bean对象,此方法调用必须保证容器中能获取Bean的定义
|
List<String> |
getBeanProperties(String beanType,
String schema)
从本地获取bean的属性列表
|
TableConfiguration |
getTableConfig(String tableName,
String schema)
从本地获取table的结构信息
|
TableConfiguration |
getTableConfigByBean(String beanType,
String schema)
从本地获取table的结构信息
|
public TableConfiguration getTableConfig(String tableName, String schema)
TinyDBService
getTableConfig
in interface TinyDBService
public TableConfiguration getTableConfigByBean(String beanType, String schema)
TinyDBService
getTableConfigByBean
in interface TinyDBService
beanType
- table对应的beanTypepublic List<String> getBeanProperties(String beanType, String schema)
TinyDBService
getBeanProperties
in interface TinyDBService
public Bean context2Bean(Context c, String beanType, String schema)
TinyDBService
context2Bean
in interface TinyDBService
c
- 源contextbeanType
- bean的beanType,public Bean context2Bean(Context c, String beanType, List<String> properties, String schema)
TinyDBService
context2Bean
in interface TinyDBService
c
- 源contextbeanType
- bean的beanTypeproperties
- bean的属性列表Copyright © 2006–2018 TinyGroup. All rights reserved.