类 Table
java.lang.Object
com.gdxsoft.easyweb.define.database.Table
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void从XML对象返回 TablegetFks()getName()getPk()getRefId()来源参考被替换的DDL的元数据库前缀被替换的DDL的工作数据库前缀来源的xml内容DDLvoidinit()voidvoidvoidsetCatalogName(String _CatalogName) voidsetConnectionConfigName(String connectionConfigName) voidsetDatabaseType(String databaseType) voidvoidvoidsetIndexes(ArrayList<TableIndex> indexes) voidvoidvoid来源参考voidsetReplaceMetaDatabaseName(String replaceMetaDatabaseName) 被替换的DDL的元数据库前缀voidsetReplaceWorkDatabaseName(String replaceWorkDatabaseName) 被替换的DDL的工作数据库前缀voidsetSchemaName(String schemaName) voidvoidsetSqlIndexes(ArrayList<String> sqlIndexes) voidsetSqlTable(String sqlTable) DDLvoidsetTableType(String tableType) toJs()toXml()填写字段信息到xmlvoidwriteDataToXml(String where) voidwriteDataToXml(String where, Element parent) 填写数据到xml
-
字段详细资料
-
构造器详细资料
-
Table
public Table() -
Table
-
Table
-
Table
-
Table
初始化对象- 参数:
tableName- 表名称conn- 连接
-
-
方法详细资料
-
writeDataToXml
-
writeDataToXml
填写数据到xml- 参数:
where- 执行条件parent- 数据父节点- 抛出:
Exception
-
initBlankFrame
public void initBlankFrame() -
toXml
-
toXml
填写字段信息到xml- 参数:
parent- 父节点- 返回:
-
fromXml
从XML对象返回 Table- 参数:
eleTable-
-
init
public void init() -
init
-
toJs
-
toJs
-
getFields
-
getName
-
getSchemaName
-
getTableType
- 返回:
- the _TableType
-
setTableType
- 参数:
tableType- the _TableType to set
-
getPk
- 返回:
- the _Pk
-
setPk
- 参数:
pk- the _Pk to set
-
getFks
- 返回:
- the _Fks
-
setFks
- 参数:
fks- the _Fks to set
-
setName
- 参数:
name- the _Name to set
-
setSchemaName
- 参数:
schemaName- the _SchemaName to set
-
setConnectionConfigName
- 参数:
connectionConfigName- the _ConnectionConfigName to set
-
setFields
- 参数:
fields- the _Fields to set
-
getDatabaseType
- 返回:
- the _DatabaseType
-
setDatabaseType
- 参数:
databaseType- the _DatabaseType to set
-
getSqlTable
DDL- 返回:
- the _SqlTable
-
setSqlTable
DDL- 参数:
sqlTable- the _SqlTable to set
-
getSqlFks
- 返回:
- the _SqlFks
-
setSqlFks
- 参数:
sqlFks- the _SqlFks to set
-
getSqlIndexes
- 返回:
- the _SqlIndexs
-
setSqlIndexes
- 参数:
sqlIndexs- the _SqlIndexs to set
-
getIndexes
- 返回:
- the _Indexes
-
setIndexes
- 参数:
indexes- the _Indexes to set
-
getCatalogName
- 返回:
- the _CatalogName
-
setCatalogName
- 参数:
_CatalogName- the _CatalogName to set
-
getReplaceMetaDatabaseName
被替换的DDL的元数据库前缀- 返回:
- the replaceMetaDatabaseName
-
setReplaceMetaDatabaseName
被替换的DDL的元数据库前缀- 参数:
replaceMetaDatabaseName- the replaceMetaDatabaseName to set
-
getReplaceWorkDatabaseName
被替换的DDL的工作数据库前缀- 返回:
- the replaceWorkDatabaseName
-
setReplaceWorkDatabaseName
被替换的DDL的工作数据库前缀- 参数:
replaceWorkDatabaseName- the replaceWorkDatabaseName to set
-
getRefId
来源参考- 返回:
- the refId
-
setRefId
来源参考- 参数:
refId- the refId to set
-
getSourceXml
来源的xml内容- 返回:
-