| 限定符和类型 | 方法和说明 |
|---|---|
ApiResult<Pager<PropertyVO>> |
TableController.getTableFields(String table)
获取数据表的字段信息
通过表名称获取对应数据表的所有字段信息,并封装成分页结果返回
|
ApiResult<List<PropertyVO>> |
TableController.listField(String tableName,
String datasourceName)
读取字段列表接口
根据表名和数据源名称读取对应表的字段列表,并返回字段的详细信息
|
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,Map<String,PropertyVO>> |
EntityExtCache.ENTITY_EXT_CACHE
存储数据表结构类型
|
| 限定符和类型 | 方法和说明 |
|---|---|
PropertyVO |
EntityExtCache.get(String extendName,
String propertyName)
根据扩展实体名称和属性名称获取具体的属性信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<PropertyVO> |
EntityExtCache.get(String extendName)
根据扩展实体名称获取其所有属性列表
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<PropertyVO> |
EntityService.getPropertyByAutocode(EntityVO entityVO)
根据传入的实体对象,获取该实体对象中类型为自动编码的属性列表
|
List<PropertyVO> |
EntityService.getPropertyByFile(EntityVO entityVO)
获取指定实体对象中包含文件或图片类型的属性列表
|
List<PropertyVO> |
EntityExtService.list()
查询所有扩展字段信息,并封装成PropertyVO对象列表返回。
|
| 限定符和类型 | 方法和说明 |
|---|---|
PropertyVO |
BaseTableScriptCreator.getProperty(String tableName,
String fieldName)
根据表名和字段名获取属性对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract String |
BaseTableScriptCreator.alterField(PropertyVO propertyVO)
生成修改字段的SQL语句
|
abstract String |
BaseTableScriptCreator.createIndexKey(PropertyVO propertyVO)
生成创建索引的SQL语句
|
abstract String |
BaseTableScriptCreator.createPrimaryKey(PropertyVO propertyVO)
生成创建主键的SQL语句
|
abstract String |
BaseTableScriptCreator.dropIndexKey(PropertyVO propertyVO)
生成删除索引的SQL语句
|
abstract String |
BaseTableScriptCreator.getMappingType(PropertyVO propertyVO)
获取属性对应的数据库字段类型映射
|
boolean |
BaseTableScriptCreator.isEqualsProperty(PropertyVO propertyVO)
判断给定属性与数据库中对应字段是否相等(类型和长度)
|
boolean |
BaseTableScriptCreator.isEqualsProperty(PropertyVO xmlProperty,
PropertyVO fieldPropertyVO)
判断两个属性对象是否相等(类型和长度)
|
abstract boolean |
BaseTableScriptCreator.isExistIndexKey(PropertyVO propertyVO)
判断指定属性的索引是否存在
|
| 限定符和类型 | 方法和说明 |
|---|---|
PropertyVO |
TableScriptInterface.getProperty(String tableName,
String fieldName)
根据表名和字段名获取属性信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,PropertyVO> |
TableScriptInterface.getProperties(String tableName)
根据表名获取属性信息映射
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
TableScriptInterface.alterField(PropertyVO propertyVO)
修改字段属性
|
String |
TableScriptInterface.createField(PropertyVO propertyVO)
创建字段
|
String |
TableScriptInterface.createPrimaryKey(PropertyVO propertyVO)
为主键字段创建主键约束
|
String |
TableScriptInterface.dropField(PropertyVO propertyVO)
删除字段
|
String |
TableScriptInterface.getMappingType(PropertyVO propertyVO)
获取字段的映射类型
|
boolean |
TableScriptInterface.isEqualsProperty(PropertyVO propertyVO)
判断字段属性是否相等
|
boolean |
TableScriptInterface.isEqualsProperty(PropertyVO xmlProperty,
PropertyVO fieldPropertyVO)
比较两个属性对象是否相等
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,PropertyVO> |
Mssql2000TableScriptCreator.getProperties(String tableName)
获取表中所有字段的信息,并以Map形式返回
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
Mssql2000TableScriptCreator.alterField(PropertyVO propertyVO)
修改字段类型或长度的SQL语句
|
String |
Mssql2000TableScriptCreator.createField(PropertyVO propertyVO)
添加新字段的SQL语句
|
String |
Mssql2000TableScriptCreator.createIndexKey(PropertyVO propertyVO)
创建索引的SQL语句
|
String |
Mssql2000TableScriptCreator.createPrimaryKey(PropertyVO propertyVO)
创建主键约束
|
String |
Mssql2000TableScriptCreator.dropField(PropertyVO propertyVO)
删除指定字段的SQL语句
|
String |
Mssql2000TableScriptCreator.dropIndexKey(PropertyVO propertyVO)
删除索引的SQL语句
|
String |
Mssql2000TableScriptCreator.getMappingType(PropertyVO propertyVO)
获取字段对应的数据库类型
|
boolean |
Mssql2000TableScriptCreator.isExistIndexKey(PropertyVO propertyVO)
判断指定字段上的索引是否存在
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,PropertyVO> |
MysqlTableScriptCreator.getProperties(String tableName)
获取表的所有字段属性
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
MysqlTableScriptCreator.alterField(PropertyVO propertyVO)
修改字段的SQL脚本
|
String |
MysqlTableScriptCreator.createField(PropertyVO propertyVO)
创建字段的SQL脚本
|
String |
MysqlTableScriptCreator.createIndexKey(PropertyVO propertyVO)
创建索引的SQL脚本
|
String |
MysqlTableScriptCreator.createPrimaryKey(PropertyVO propertyVO)
创建主键的SQL脚本
|
String |
MysqlTableScriptCreator.dropField(PropertyVO propertyVO)
删除字段的SQL脚本
|
String |
MysqlTableScriptCreator.dropIndexKey(PropertyVO propertyVO)
删除索引的SQL脚本
|
String |
MysqlTableScriptCreator.getMappingType(PropertyVO propertyVO)
获取字段类型的映射关系
|
boolean |
MysqlTableScriptCreator.isExistIndexKey(PropertyVO propertyVO)
检查索引是否存在
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
DataTypeValidateUtil.validateDate(PropertyVO propertyVO,
Object value)
验证给定值是否符合日期时间格式。
|
static void |
DataTypeValidateUtil.validateFloat(PropertyVO propertyVO,
Object value)
验证给定值是否符合实数(浮点数)数据格式。
|
static void |
DataTypeValidateUtil.validateInteger(PropertyVO propertyVO,
Object value)
验证给定值是否符合整型数据格式。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
JavaTypeConvert.copyJavaProperty(PropertyVO propertyVO,
PropertyVO javaPropertyVO)
将原始属性信息复制到Java属性对象中,并完成Java类型及驼峰命名字段的设置。
|
static String |
JavaTypeConvert.toJavaType(PropertyVO propertyVO)
根据传入的属性对象中的数据库字段类型,将其转换为对应的Java类型字符串。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
FormPropertyConvertUtil.toJavaProperties(EntityVO entityVO,
List<PropertyVO> javaProperties)
将实体中的属性信息更新到Java属性列表中,并补充缺失的字段以保证结构一致性。
|
static void |
GridPropertyConvertUtil.toJavaProperties(EntityVO entityVO,
List<PropertyVO> javaProperties) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
FormPropertyVO
表单列配置
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
GridPropertyVO
网列列表的属性定义
|
Copyright © 2025. All rights reserved.