public interface TinyDBService
Modifier and Type | Method and Description |
---|---|
Bean |
context2Bean(Context context,
String beanType,
List<String> properties,
String schema)
context
从context中获取一个bean对象
|
Bean |
context2Bean(Context context,
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的结构信息
|
TableConfiguration getTableConfig(String tableName, String schema)
tableName
- TableConfiguration getTableConfigByBean(String beanType, String schema)
beanType
- table对应的beanTypeList<String> getBeanProperties(String beanType, String schema)
beanType
- Bean context2Bean(Context context, String beanType, String schema)
context
- 源contextbeanType
- bean的beanType,Copyright © 2006–2018 TinyGroup. All rights reserved.