The Whole-Part Relationship in the Unified Modeling Language: A New Approach

F. Barbier, B. Henderson-Sellers, A. Opdahl, Martin Gogolla
{"title":"The Whole-Part Relationship in the Unified Modeling Language: A New Approach","authors":"F. Barbier, B. Henderson-Sellers, A. Opdahl, Martin Gogolla","doi":"10.4018/978-1-930708-05-1.CH012","DOIUrl":null,"url":null,"abstract":"This study of the semantics of the Whole-Part relationship in OO modeling is based upon, extends and, specifically, formalizes earlier analyses of the semantics of UML’s Aggregation and Composition (white and black diamonds, also called shared aggregation and composite aggregation). Although UML is nowadays regarded as a standard and is widely used as an OO modeling language, the way the Whole-Part relationship is formalized is unsatisfactory. Here, we provide a rigorous specification of various forms of the Whole-Part relationship using OCL (Object Constraint Language). The first part of the specification is based on the differentiation between primary characteristics (applicable to all Whole-Part relationships) assigned to a new Whole-Part metatype in the UML, and secondary features, which are possessed by subtypes of this metatype and permit the representation of several \"flavors\" of the Whole-Part relationship. This UML-compliant style of specification, based on the use of OCL as well as metamodeling, allows us to directly incorporate our results into the UML metamodel, in particular revising UML's definition of Composition.","PeriodicalId":255100,"journal":{"name":"Unified Modeling Language: Systems Analysis, Design and Development Issues","volume":"92 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2001-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Unified Modeling Language: Systems Analysis, Design and Development Issues","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/978-1-930708-05-1.CH012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

Abstract

This study of the semantics of the Whole-Part relationship in OO modeling is based upon, extends and, specifically, formalizes earlier analyses of the semantics of UML’s Aggregation and Composition (white and black diamonds, also called shared aggregation and composite aggregation). Although UML is nowadays regarded as a standard and is widely used as an OO modeling language, the way the Whole-Part relationship is formalized is unsatisfactory. Here, we provide a rigorous specification of various forms of the Whole-Part relationship using OCL (Object Constraint Language). The first part of the specification is based on the differentiation between primary characteristics (applicable to all Whole-Part relationships) assigned to a new Whole-Part metatype in the UML, and secondary features, which are possessed by subtypes of this metatype and permit the representation of several "flavors" of the Whole-Part relationship. This UML-compliant style of specification, based on the use of OCL as well as metamodeling, allows us to directly incorporate our results into the UML metamodel, in particular revising UML's definition of Composition.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
统一建模语言中的整体-局部关系:一种新方法
这种对OO建模中整体-部分关系语义的研究是基于、扩展,特别是形式化了之前对UML的聚合和组合(白色和黑色菱形,也称为共享聚合和复合聚合)语义的分析。尽管UML现在被视为一种标准,并被广泛用作OO建模语言,但整体-部分关系的形式化方式并不令人满意。在这里,我们使用OCL(对象约束语言)提供了各种形式的整体-部分关系的严格规范。规范的第一部分是基于分配给UML中新的整体-部分元类型的主要特征(适用于所有整体-部分关系)和次要特征之间的区别,次要特征由该元类型的子类型拥有,并允许整体-部分关系的几种“风味”的表示。这种UML兼容的规范风格,基于OCL和元建模的使用,允许我们直接将结果合并到UML元模型中,特别是修改UML的组合定义。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Temporal OCL Meeting Specification Demands for Business Components The Whole-Part Relationship in the Unified Modeling Language: A New Approach An Interactive Viewpoint on the Role of UML Linking UML with Integrated Formal Techniques A Systematic Approach to Transform UML Static Models to Object-Oriented Code
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1