关于Rational Rose逆向工程生成类图策略的研究  

Research on Rational Rose's strategy for generating class diagrams in reverse engineering

在线阅读下载全文

作  者:李娟[1] 明德廷[1] 王兴宇[1] 谭亮[1] LI Juan;MING Deting;WANG Xingyu;TAN Liang(College of Computer and Information Engineering,Jiangxi Agricultural University,Nanchang 330045,China)

机构地区:[1]江西农业大学计算机与信息工程学院,南昌330045

出  处:《计算机应用文摘》2024年第3期107-111,共5页Chinese Journal of Computer Application

摘  要:文章聚焦于RationalRose逆向工程生成类图的策略。首先,通过编写每个类的框架代码,利用RationalRose7.0逆向工程生成类图,并在类图中查看类与类之间的各种关系是否能被正确识别。其次,研究了将类图映射成代码的规律。实践结果表明,类图映射成代码取决于2个因素,即类的可见性和类与类之间的关系。研究发现,RationalRose7.0能够准确识别泛化和实现关系以及可见性,但在关联关系和依赖关系的识别上存在不足。针对这一问题,文章提出了相应的改进算法。The article focuses on the strategy of generating class diagrams through Rational Rose reverse engineering.Firstly,by writing the framework code for each class,using Rational Rose 7.0 reverse engineering to generate a class diagram,and checking whether the various relationships between classes can be correctly identified in the class diagram.Secondly,the law of mapping class diagrams into code was studied.The practical results indicate that mapping a class diagram to code depends on two factors,namely the visibility of classes and the relationships between classes.Research has found that Rational Rose 7.0 can accurately identify generalization and implementation relationships as well as visibility,but there are shortcomings in identifying association and dependency relationships.In response to this issue,the article proposes corresponding improved algorithms.

关 键 词: 关联 泛化 依赖 实现 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象