具有多个角色的对象的方法调度和类型安全

R. Wong, H. L. Chau
{"title":"具有多个角色的对象的方法调度和类型安全","authors":"R. Wong, H. L. Chau","doi":"10.1109/TOOLS.1997.681877","DOIUrl":null,"url":null,"abstract":"The association between an instance and a class is exclusive and permanent in many class based, object oriented database systems. Therefore, these systems have serious difficulties for applications in which objects take on different and multiple roles over time. Recently, some researchers have proposed the use of roles to tackle these problems. Although many of them have realized the importance and difficulties to solve the type problems caused by roles, formal semantics and type issues of roles have not been addressed. We develop an expressive yet semantically sound type calculus for objects with multiple roles. While the rich role modeling constructs are introduced, the calculus can still be expressed in a neat way by using the polymorphism of overloaded functions. We show the important properties of the calculus which include Subject Reduction, Strong Normalization and Confluence. The calculus described in the paper provides a foundation for object-with-role models. We show that the calculus is general enough to be applied to various role models with little modification.","PeriodicalId":276758,"journal":{"name":"Proceedings. Technology of Object-Oriented Languages and Systems, TOOLS 25 (Cat. No.97TB100239)","volume":"151 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1997-11-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Method dispatching and type safety for objects with multiple roles\",\"authors\":\"R. Wong, H. L. Chau\",\"doi\":\"10.1109/TOOLS.1997.681877\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The association between an instance and a class is exclusive and permanent in many class based, object oriented database systems. Therefore, these systems have serious difficulties for applications in which objects take on different and multiple roles over time. Recently, some researchers have proposed the use of roles to tackle these problems. Although many of them have realized the importance and difficulties to solve the type problems caused by roles, formal semantics and type issues of roles have not been addressed. We develop an expressive yet semantically sound type calculus for objects with multiple roles. While the rich role modeling constructs are introduced, the calculus can still be expressed in a neat way by using the polymorphism of overloaded functions. We show the important properties of the calculus which include Subject Reduction, Strong Normalization and Confluence. The calculus described in the paper provides a foundation for object-with-role models. We show that the calculus is general enough to be applied to various role models with little modification.\",\"PeriodicalId\":276758,\"journal\":{\"name\":\"Proceedings. Technology of Object-Oriented Languages and Systems, TOOLS 25 (Cat. No.97TB100239)\",\"volume\":\"151 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1997-11-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings. Technology of Object-Oriented Languages and Systems, TOOLS 25 (Cat. No.97TB100239)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/TOOLS.1997.681877\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. Technology of Object-Oriented Languages and Systems, TOOLS 25 (Cat. No.97TB100239)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TOOLS.1997.681877","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

在许多基于类的、面向对象的数据库系统中,实例和类之间的关联是排他性的和永久的。因此,这些系统对于对象随时间承担不同和多个角色的应用程序具有严重的困难。最近,一些研究人员提出使用角色来解决这些问题。虽然他们中的许多人已经意识到解决由角色引起的类型问题的重要性和困难,但尚未解决角色的形式语义和类型问题。我们为具有多个角色的对象开发了一种富有表现力且语义合理的类型演算。虽然引入了丰富的角色建模结构,但演算仍然可以通过使用重载函数的多态性以一种简洁的方式表示。我们证明了微积分的重要性质,包括主题约简、强归一化和合流。本文所描述的演算为对象角色模型提供了基础。我们表明,微积分是足够普遍的,适用于各种各样的角色模型,几乎没有修改。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Method dispatching and type safety for objects with multiple roles
The association between an instance and a class is exclusive and permanent in many class based, object oriented database systems. Therefore, these systems have serious difficulties for applications in which objects take on different and multiple roles over time. Recently, some researchers have proposed the use of roles to tackle these problems. Although many of them have realized the importance and difficulties to solve the type problems caused by roles, formal semantics and type issues of roles have not been addressed. We develop an expressive yet semantically sound type calculus for objects with multiple roles. While the rich role modeling constructs are introduced, the calculus can still be expressed in a neat way by using the polymorphism of overloaded functions. We show the important properties of the calculus which include Subject Reduction, Strong Normalization and Confluence. The calculus described in the paper provides a foundation for object-with-role models. We show that the calculus is general enough to be applied to various role models with little modification.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信