A C D G I M O Q S T

A

addFile(String, String, String, boolean, boolean, boolean, String, String, String) - 类 com.hotent.cgm.model.ConfigModel.Files 中的方法
 
addSubTable(String, String, Map<String, String>) - 类 com.hotent.cgm.model.ConfigModel.Table 中的方法
 

C

ColumnModel - com.hotent.cgm.model 中的 类
数据库列对象。
ColumnModel() - 类 com.hotent.cgm.model.ColumnModel 的构造方法
 
com.hotent.cgm.db - 软件包 com.hotent.cgm.db
代码生成访问数据库生成TableModel包。
com.hotent.cgm.db.impl - 软件包 com.hotent.cgm.db.impl
IDbHelper实现类,负责从不同的数据库中获取TableModel对象。
com.hotent.cgm.model - 软件包 com.hotent.cgm.model
TableModel对象类,ColumnModel对象类和配置对象类。
ConfigModel - com.hotent.cgm.model 中的 类
xml配置类。
ConfigModel() - 类 com.hotent.cgm.model.ConfigModel 的构造方法
 
ConfigModel.Database - com.hotent.cgm.model 中的 类
 
ConfigModel.Database(String, String, String, String) - 类 com.hotent.cgm.model.ConfigModel.Database 的构造方法
 
ConfigModel.Files - com.hotent.cgm.model 中的 类
生成文件的模版
ConfigModel.Files() - 类 com.hotent.cgm.model.ConfigModel.Files 的构造方法
 
ConfigModel.Files.File - com.hotent.cgm.model 中的 类
 
ConfigModel.Files.File(String, String, String, boolean, boolean, boolean, String, String, String) - 类 com.hotent.cgm.model.ConfigModel.Files.File 的构造方法
 
ConfigModel.GenAll - com.hotent.cgm.model 中的 类
 
ConfigModel.GenAll(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll 的构造方法
 
ConfigModel.GenAll.File - com.hotent.cgm.model 中的 类
 
ConfigModel.GenAll.File(String, String, String, String, String) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 的构造方法
 
ConfigModel.Table - com.hotent.cgm.model 中的 类
 
ConfigModel.Table(String) - 类 com.hotent.cgm.model.ConfigModel.Table 的构造方法
 
ConfigModel.Table.SubTable - com.hotent.cgm.model 中的 类
 
ConfigModel.Table.SubTable(String, String, Map<String, String>) - 类 com.hotent.cgm.model.ConfigModel.Table.SubTable 的构造方法
 
ConfigModel.Templates - com.hotent.cgm.model 中的 类
 
ConfigModel.Templates(String) - 类 com.hotent.cgm.model.ConfigModel.Templates 的构造方法
 

D

DaoHelper<T> - com.hotent.cgm.db 中的 类
对jdbc进行封装实现数据库访问。
DaoHelper(String, String, String) - 类 com.hotent.cgm.db.DaoHelper 的构造方法
传入数据库url,用户名和密码。

G

getAllTable() - 接口 com.hotent.cgm.db.IDbHelper 中的方法
取得所有的表名
getAllTable() - 类 com.hotent.cgm.db.impl.MySqlHelper 中的方法
取得当前数据库的所有表
getAllTable() - 类 com.hotent.cgm.db.impl.OracleHelper 中的方法
取得数据库的所有表
getAllTable() - 类 com.hotent.cgm.db.impl.Sql2005Helper 中的方法
取得当前数据库中的所有表名
getAppend() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
getAutoGen() - 类 com.hotent.cgm.model.ColumnModel 中的方法
字段自增长(适用SQL2005) 1,为自增长。
getBaseDir() - 类 com.hotent.cgm.model.ConfigModel.Files 中的方法
基路径
getBasepath() - 类 com.hotent.cgm.model.ConfigModel.Templates 中的方法
模版的基路径。
getByTable(String) - 接口 com.hotent.cgm.db.IDbHelper 中的方法
根据表名取得TableModel
getByTable(String) - 类 com.hotent.cgm.db.impl.MySqlHelper 中的方法
根据表名取得表对象数据
getByTable(String) - 类 com.hotent.cgm.db.impl.OracleHelper 中的方法
根据表名取得表对象
getByTable(String) - 类 com.hotent.cgm.db.impl.Sql2005Helper 中的方法
根据表明取得tablemodel对象
getCharset() - 类 com.hotent.cgm.model.ConfigModel 中的方法
生成代码的字符集
getColDbType() - 类 com.hotent.cgm.model.ColumnModel 中的方法
数据库实际的列类型。
getColType() - 类 com.hotent.cgm.model.ColumnModel 中的方法
列类型。
getColumnList() - 类 com.hotent.cgm.model.TableModel 中的方法
表的数据库列
getColumnName() - 类 com.hotent.cgm.model.ColumnModel 中的方法
列名称。
getComment() - 类 com.hotent.cgm.model.ColumnModel 中的方法
列注释。
getCommonList() - 类 com.hotent.cgm.model.TableModel 中的方法
取得普通列的列表
getDatabase() - 类 com.hotent.cgm.model.ConfigModel 中的方法
数据库的配置
getDbHelperClass() - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
数据库实现类。
getDir() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
文件放置的路径 相对于baseDir
getDir() - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
生成文件的目录
getDisplay() - 类 com.hotent.cgm.model.ColumnModel 中的方法
测试。
getDisplayDbType() - 类 com.hotent.cgm.model.ColumnModel 中的方法
显示的字段类型。
getEndTag() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
getExtName() - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
文件扩展名。
getFile() - 类 com.hotent.cgm.model.ConfigModel.GenAll 中的方法
 
getFilename() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
生成的文件名和table的basePath路径叠加。
getFilename() - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
生成的文件名。
getFiles() - 类 com.hotent.cgm.model.ConfigModel.Files 中的方法
需要生成的文件
getFiles() - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
getForeignKey() - 类 com.hotent.cgm.model.ConfigModel.Table.SubTable 中的方法
 
getForeignKey() - 类 com.hotent.cgm.model.TableModel 中的方法
相对于主表的外键
getGenAll() - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
getGenMode() - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
生成模式。
getInsertTag() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
getIsNotNull() - 类 com.hotent.cgm.model.ColumnModel 中的方法
字段是否非空。
getIsPK() - 类 com.hotent.cgm.model.ColumnModel 中的方法
是否是主键。
getLength() - 类 com.hotent.cgm.model.ColumnModel 中的方法
数据库列的长度,字符串列类型长度。
getObjecFromRs(ResultSet) - 类 com.hotent.cgm.db.impl.MySqlMapCmd 中的方法
构建columnmodel对象
getObjecFromRs(ResultSet) - 类 com.hotent.cgm.db.impl.OracleMapCmd 中的方法
 
getObjecFromRs(ResultSet) - 类 com.hotent.cgm.db.impl.Sql2005MapCmd 中的方法
 
getObjecFromRs(ResultSet) - 接口 com.hotent.cgm.db.MapCmd 中的方法
根据ResultSet 记录集对象返回对象T 。
getPassword() - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
连接数据库密码
getPkList() - 类 com.hotent.cgm.model.TableModel 中的方法
取得主键列表
getPkModel() - 类 com.hotent.cgm.model.TableModel 中的方法
取得主键对象。
getPrecision() - 类 com.hotent.cgm.model.ColumnModel 中的方法
数字列精度。
getScale() - 类 com.hotent.cgm.model.ColumnModel 中的方法
数字列小数的位数。
getStartTag() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
getSub() - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
getSub() - 类 com.hotent.cgm.model.TableModel 中的方法
 
getSubtable() - 类 com.hotent.cgm.model.ConfigModel.Table 中的方法
子表列表
getSubTableList() - 类 com.hotent.cgm.model.TableModel 中的方法
子表数据
getTabComment() - 类 com.hotent.cgm.model.TableModel 中的方法
表注释
getTableName() - 类 com.hotent.cgm.model.ConfigModel.Table 中的方法
表名
getTableName() - 类 com.hotent.cgm.model.ConfigModel.Table.SubTable 中的方法
 
getTableName() - 类 com.hotent.cgm.model.TableModel 中的方法
表名
getTableNames() - 类 com.hotent.cgm.model.ConfigModel.GenAll 中的方法
 
getTables() - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
getTemplate() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
引用在template定义的ID
getTemplate() - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
引用template的ID
getTemplate() - 类 com.hotent.cgm.model.ConfigModel.Templates 中的方法
模版列表
getTemplates() - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
getUrl() - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
数据库的URL
getUsername() - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
连接数据库用户名
getVariable() - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
自定义变量
getVariable() - 类 com.hotent.cgm.model.ConfigModel.Table 中的方法
表对应的自定义变量。
getVariables() - 类 com.hotent.cgm.model.ConfigModel 中的方法
全局变量。
getVariables() - 类 com.hotent.cgm.model.TableModel 中的方法
 
getVars() - 类 com.hotent.cgm.model.ConfigModel.Table.SubTable 中的方法
 

I

IDbHelper - com.hotent.cgm.db 中的 接口
获取数据库所有表和表的TableMode接口类。
isOverride() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
isSub() - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
isSub() - 类 com.hotent.cgm.model.TableModel 中的方法
 

M

main(String[]) - 类 com.hotent.cgm.db.impl.MySqlHelper 中的静态方法
 
main(String[]) - 类 com.hotent.cgm.db.impl.OracleHelper 中的静态方法
 
main(String[]) - 类 com.hotent.cgm.db.impl.Sql2005Helper 中的静态方法
 
MapCmd<T> - com.hotent.cgm.db 中的 接口
ResultSet 对象映射接口,用户可以通过类或匿名类进行实现。
MySqlHelper - com.hotent.cgm.db.impl 中的 类
功能: 取得数据库表接口IDbHelper,mysql 的实现
MySqlHelper() - 类 com.hotent.cgm.db.impl.MySqlHelper 的构造方法
 
MySqlMapCmd - com.hotent.cgm.db.impl 中的 类
功能 :根据rs对象构建columnmodel对象,MYSQL实现类。
MySqlMapCmd() - 类 com.hotent.cgm.db.impl.MySqlMapCmd 的构造方法
 

O

OracleHelper - com.hotent.cgm.db.impl 中的 类
取得数据库表接口IDbHelper,ORACLE 的实现
OracleHelper() - 类 com.hotent.cgm.db.impl.OracleHelper 的构造方法
 
OracleMapCmd - com.hotent.cgm.db.impl 中的 类
功能 :根据rs对象构建columnmodel对象,Oracle实现类。
OracleMapCmd() - 类 com.hotent.cgm.db.impl.OracleMapCmd 的构造方法
 

Q

queryForList(String, MapCmd<T>) - 类 com.hotent.cgm.db.DaoHelper 中的方法
查询列表对象。
queryForObject(String, MapCmd<T>) - 类 com.hotent.cgm.db.DaoHelper 中的方法
查询一个对象。

S

setAppend(boolean) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setAutoGen(int) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setBaseDir(String) - 类 com.hotent.cgm.model.ConfigModel.Files 中的方法
 
setBasepath(String) - 类 com.hotent.cgm.model.ConfigModel.Templates 中的方法
 
setCharset(String) - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
setColDbType(String) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setColType(String) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setColumnList(List<ColumnModel>) - 类 com.hotent.cgm.model.TableModel 中的方法
 
setColumnName(String) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setComment(String) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setDatabase(ConfigModel.Database) - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
setDbHelperClass(String) - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
 
setDir(String) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setDir(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
setDisplayDbType(String) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setEndTag(String) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setExtName(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
setFile(List<ConfigModel.GenAll.File>) - 类 com.hotent.cgm.model.ConfigModel.GenAll 中的方法
 
setFilename(String) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setFilename(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
setFiles(List<ConfigModel.Files.File>) - 类 com.hotent.cgm.model.ConfigModel.Files 中的方法
 
setFiles(ConfigModel.Files) - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
setForeignKey(String) - 类 com.hotent.cgm.model.ConfigModel.Table.SubTable 中的方法
 
setForeignKey(String) - 类 com.hotent.cgm.model.TableModel 中的方法
 
setGenAll(ConfigModel.GenAll) - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
setGenMode(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
setInsertTag(String) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setIsNotNull(boolean) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setIsPK(boolean) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setLength(long) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setOverride(boolean) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setPassword(String) - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
 
setPrecision(int) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setPwd(String) - 类 com.hotent.cgm.db.DaoHelper 中的方法
 
setScale(int) - 类 com.hotent.cgm.model.ColumnModel 中的方法
 
setStartTag(String) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setSub(boolean) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setSub(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
setSub(boolean) - 类 com.hotent.cgm.model.TableModel 中的方法
 
setSubtable(List<ConfigModel.Table.SubTable>) - 类 com.hotent.cgm.model.ConfigModel.Table 中的方法
 
setSubTableList(List<TableModel>) - 类 com.hotent.cgm.model.TableModel 中的方法
 
setTabComment(String) - 类 com.hotent.cgm.model.TableModel 中的方法
 
setTableName(String) - 类 com.hotent.cgm.model.ConfigModel.Table 中的方法
 
setTableName(String) - 类 com.hotent.cgm.model.ConfigModel.Table.SubTable 中的方法
 
setTableName(String) - 类 com.hotent.cgm.model.TableModel 中的方法
 
setTableNames(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll 中的方法
 
setTables(List<ConfigModel.Table>) - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
setTemplate(String) - 类 com.hotent.cgm.model.ConfigModel.Files.File 中的方法
 
setTemplate(String) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
setTemplate(Map<String, String>) - 类 com.hotent.cgm.model.ConfigModel.Templates 中的方法
 
setTemplates(ConfigModel.Templates) - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
setUrl(String) - 类 com.hotent.cgm.db.DaoHelper 中的方法
 
setUrl(String, String, String) - 接口 com.hotent.cgm.db.IDbHelper 中的方法
设置URL,username,password
setUrl(String, String, String) - 类 com.hotent.cgm.db.impl.MySqlHelper 中的方法
 
setUrl(String, String, String) - 类 com.hotent.cgm.db.impl.OracleHelper 中的方法
 
setUrl(String, String, String) - 类 com.hotent.cgm.db.impl.Sql2005Helper 中的方法
 
setUrl(String) - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
 
setUserName(String) - 类 com.hotent.cgm.db.DaoHelper 中的方法
 
setUsername(String) - 类 com.hotent.cgm.model.ConfigModel.Database 中的方法
 
setVariable(Map<String, String>) - 类 com.hotent.cgm.model.ConfigModel.GenAll.File 中的方法
 
setVariable(Map<String, String>) - 类 com.hotent.cgm.model.ConfigModel.Table 中的方法
 
setVariables(Map<String, String>) - 类 com.hotent.cgm.model.ConfigModel 中的方法
 
setVariables(Map<String, String>) - 类 com.hotent.cgm.model.TableModel 中的方法
 
setVars(Map<String, String>) - 类 com.hotent.cgm.model.ConfigModel.Table.SubTable 中的方法
 
Sql2005Helper - com.hotent.cgm.db.impl 中的 类
取得数据库表接口IDbHelper,SQL2005 的实现
Sql2005Helper() - 类 com.hotent.cgm.db.impl.Sql2005Helper 的构造方法
 
Sql2005MapCmd - com.hotent.cgm.db.impl 中的 类
锟斤拷锟斤拷 锟斤拷锟斤拷锟絩s锟斤拷锟襟构斤拷columnmodel锟斤拷锟斤拷SQL2005实锟斤拷锟洁。
Sql2005MapCmd() - 类 com.hotent.cgm.db.impl.Sql2005MapCmd 的构造方法
 

T

TableModel - com.hotent.cgm.model 中的 类
数据表对象
TableModel() - 类 com.hotent.cgm.model.TableModel 的构造方法
 

A C D G I M O Q S T