|国家科技期刊平台
首页|期刊导航|现代信息科技|关于将类图映射成关系表的策略研究

关于将类图映射成关系表的策略研究OA

Research on Strategy for Mapping Class Diagram to Relational Table

中文摘要英文摘要

文章研究了类图映射成关系数据库中的表的策略,首先使用Rational Rose 7.0建立类图数据模型,通过给类设置不同的可见性,并在类图中使用类与类之间的各种关系,然后再探讨了类图映射成关系表的规律.实践的结果表明,将类图映射成关系数据库中的表取决于两个因素,即类的可见性和类与类之间的关系,并发现Rational Rose 7.0软件没有考虑到当属性可见性不同时映射成表中对应的属性也应该是不同的.

In this paper,the strategy of mapping class diagram to table in relational database is studied.Firstly,the data model of class diagram is established by using Rational Rose 7.0.By setting different visibility for classes and using various relationships between classes in class diagram,then the rule of mapping class diagram to relational table is discussed.The result of practice shows that the mapping of class diagram into tables in relational database depends on two factors,namely,the visibility of classes and the relationship between classes.And it is found that Rational Rose 7.0 software does not take into account that when the visibility of the attribute is different,the corresponding attribute in the mapping table should also be different.

李娟;明德廷;王兴宇

江西农业大学 计算机与信息工程学院,江西 南昌 330045

计算机与自动化

可视化建模类图关系数据库

Visual Modelingclass diagramrelational database

《现代信息科技》 2024 (001)

113-115,120 / 4

10.19850/j.cnki.2096-4706.2024.01.023

评论