• 论文 •    

基于对象关联模型的企业应用软件代码生成器

王忠杰,战德臣,徐晓飞,杨美荣,程臻   

  1. 哈尔滨工业大学 计算机科学与技术学院,黑龙江哈尔滨150001
  • 出版日期:2007-05-15 发布日期:2007-05-25

Code generator for enterprise software and applications based on business object association model

WANG Zhong-jie, ZHAN De-chen, XU Xiao-fei, YANG Mei-rong, CHENG Zhen   

  1. Sch. of Computer S&T, Harbin Inst. of Tech., Harbin150001, China
  • Online:2007-05-15 Published:2007-05-25

摘要: 以业务对象间数值型关联关系为出发点,提出一种基于日志的业务对象关联模型,并将对象间关联关系与业务对象清晰分离开来。据此设计了一种代码生成器,以支持在模型变化之后系统行为的快速变化和代码的自动生成,并在对象状态日志与关联日志的支持下实现企业业务数据的灵活追溯。

关键词: 关企业应用软件, 业务模型, 对象关联关系, 代码生成器, 日志

Abstract: Starting from the numerical associations among business objects, a log-based object association model was presented, in which complex and volatile associations among objects were clearly separated from the inner structures of objects themselves. According to this model, a code generator was designed and implemented to support rapid changes of system behaviors and automatic code generation after requirement changes. Run-time states of business objects and association information among objects were separated as logs from business object information, and with the aid of such logs, flexible traceability among business data could also be conveniently realized. Practical applications have validated the feasibility of this approach.

Key words: enterprise software and applications, business models, objects association, code generator, log

中图分类号: