{"title":"基于具有多重性的类型图的自动适应变换","authors":"Quyet-Thang Pham, A. Beugnard","doi":"10.1109/SEAA.2012.21","DOIUrl":null,"url":null,"abstract":"Identical domain concepts reified in different metamodelling projects may be named, represented and connected differently. It turns out that a transformation defined for a particular metamodel cannot be directly used for another metamodel. To tackle this problem, we propose a process for automatically adapting legacy transformations. Such a transformation is adapted to the new metamodel that has a slightly different representation in comparison with the original one, while the transformation intention is preserved. To this end, we first introduce a Domain Specific Language (DSL) that allows users to describe the intended correspondences between elements of two metamodels. Then we provide an adaptation engine using these user-defined correspondences to adapt the transformation automatically. We also propose a graph-based typing relation that enables safe adaptations. Our approach has been prototyped with MOMENT2 and can be used with any framework based on the same graph transformation paradigm.","PeriodicalId":298734,"journal":{"name":"2012 38th Euromicro Conference on Software Engineering and Advanced Applications","volume":"194-199 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Automatic Adaptation of Transformations Based on Type Graph with Multiplicity\",\"authors\":\"Quyet-Thang Pham, A. Beugnard\",\"doi\":\"10.1109/SEAA.2012.21\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Identical domain concepts reified in different metamodelling projects may be named, represented and connected differently. It turns out that a transformation defined for a particular metamodel cannot be directly used for another metamodel. To tackle this problem, we propose a process for automatically adapting legacy transformations. Such a transformation is adapted to the new metamodel that has a slightly different representation in comparison with the original one, while the transformation intention is preserved. To this end, we first introduce a Domain Specific Language (DSL) that allows users to describe the intended correspondences between elements of two metamodels. Then we provide an adaptation engine using these user-defined correspondences to adapt the transformation automatically. We also propose a graph-based typing relation that enables safe adaptations. Our approach has been prototyped with MOMENT2 and can be used with any framework based on the same graph transformation paradigm.\",\"PeriodicalId\":298734,\"journal\":{\"name\":\"2012 38th Euromicro Conference on Software Engineering and Advanced Applications\",\"volume\":\"194-199 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-09-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2012 38th Euromicro Conference on Software Engineering and Advanced Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SEAA.2012.21\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 38th Euromicro Conference on Software Engineering and Advanced Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SEAA.2012.21","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Automatic Adaptation of Transformations Based on Type Graph with Multiplicity
Identical domain concepts reified in different metamodelling projects may be named, represented and connected differently. It turns out that a transformation defined for a particular metamodel cannot be directly used for another metamodel. To tackle this problem, we propose a process for automatically adapting legacy transformations. Such a transformation is adapted to the new metamodel that has a slightly different representation in comparison with the original one, while the transformation intention is preserved. To this end, we first introduce a Domain Specific Language (DSL) that allows users to describe the intended correspondences between elements of two metamodels. Then we provide an adaptation engine using these user-defined correspondences to adapt the transformation automatically. We also propose a graph-based typing relation that enables safe adaptations. Our approach has been prototyped with MOMENT2 and can be used with any framework based on the same graph transformation paradigm.