{"title":"嵌套和专门化关联","authors":"Tormod V. Håvaldsrud, B. Møller-Pedersen","doi":"10.1145/1562100.1562105","DOIUrl":null,"url":null,"abstract":"UML supports specialization of associations, but with sparse semantics. It is recognized that specialization is different from subsetting of association end sets, and UML indicates that it has a meaning similar to specialization for classes (or classifiers in general). Recent efforts on the introduction of associations into programming languages have claimed, with convincing examples, that specialization of associations can not be defined similar to specialization for classes. In this paper we demonstrate that these examples really call for the notion of nested associations; in addition it is demonstrated that other examples call for real specialization (as for classes) of associations. The two notions: nested associations and specialization of associations have been implemented in a prototype tool for an experimental modeling language, and together they open for rich modeling of associations similar to what we have for classes.","PeriodicalId":423992,"journal":{"name":"Proceedings of the Workshop on Relationships and Associations in Object-Oriented Languages","volume":"30 4","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-07-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Nested and specialized associations\",\"authors\":\"Tormod V. Håvaldsrud, B. Møller-Pedersen\",\"doi\":\"10.1145/1562100.1562105\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"UML supports specialization of associations, but with sparse semantics. It is recognized that specialization is different from subsetting of association end sets, and UML indicates that it has a meaning similar to specialization for classes (or classifiers in general). Recent efforts on the introduction of associations into programming languages have claimed, with convincing examples, that specialization of associations can not be defined similar to specialization for classes. In this paper we demonstrate that these examples really call for the notion of nested associations; in addition it is demonstrated that other examples call for real specialization (as for classes) of associations. The two notions: nested associations and specialization of associations have been implemented in a prototype tool for an experimental modeling language, and together they open for rich modeling of associations similar to what we have for classes.\",\"PeriodicalId\":423992,\"journal\":{\"name\":\"Proceedings of the Workshop on Relationships and Associations in Object-Oriented Languages\",\"volume\":\"30 4\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-07-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the Workshop on Relationships and Associations in Object-Oriented Languages\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/1562100.1562105\",\"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 of the Workshop on Relationships and Associations in Object-Oriented Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1562100.1562105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
UML supports specialization of associations, but with sparse semantics. It is recognized that specialization is different from subsetting of association end sets, and UML indicates that it has a meaning similar to specialization for classes (or classifiers in general). Recent efforts on the introduction of associations into programming languages have claimed, with convincing examples, that specialization of associations can not be defined similar to specialization for classes. In this paper we demonstrate that these examples really call for the notion of nested associations; in addition it is demonstrated that other examples call for real specialization (as for classes) of associations. The two notions: nested associations and specialization of associations have been implemented in a prototype tool for an experimental modeling language, and together they open for rich modeling of associations similar to what we have for classes.