现代信息科技2024,Vol.8Issue(1):113-115,120,4.DOI:10.19850/j.cnki.2096-4706.2024.01.023
关于将类图映射成关系表的策略研究
Research on Strategy for Mapping Class Diagram to Relational Table
李娟 1明德廷 1王兴宇1
作者信息
- 1. 江西农业大学 计算机与信息工程学院,江西 南昌 330045
- 折叠
摘要
Abstract
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.关键词
可视化建模/类图/关系数据库Key words
Visual Modeling/class diagram/relational database分类
信息技术与安全科学引用本文复制引用
李娟,明德廷,王兴宇..关于将类图映射成关系表的策略研究[J].现代信息科技,2024,8(1):113-115,120,4.