实现UML二元关系的规范化方法  被引量:3

Normalization Method to Implement UML Binary Relationships

在线阅读下载全文

作  者:王鑫[1] 袁晓洁[1] 

机构地区:[1]南开大学信息技术科学学院,天津300071

出  处:《计算机工程》2006年第21期79-81,共3页Computer Engineering

基  金:天津市自然科学基金资助项目(033600411)

摘  要:由于建模语言和程序设计语言之间缺乏准确的映射机制,UML二元关系的存在为设计到实现的自动转换造成了许多困难。解决问题的关键在于如何定义一种规范化的方法,用于在程序设计语言中准确地实现UML二元关系。该文围绕UML二元关系的定义问题,从4种基本属性出发,提出关联、聚合与组合关系的形式化定义,并给出在C++中实现这些关系的规范化模式。Since there is no precise mapping mechanism between modeling languages and programming languages, the existence of UML binary relationships causes many difficulties in transforming automatically from design into implementation. The key part of the solution to this problem lies in how to define a normalization method to implement UML binary relationships precisely in programming languages. This paper centers on the definition problem of UML binary relationships. Based on four fundamental attributes, it presents formalization definitions of associaticm, aggregation and composition relationships. Normalization patterns to implement these relationships in C++ are also provided.

关 键 词:二元关系 关联 聚合 组合 UXL 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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