Model transformation

A model transformation, in model-driven engineering, is an automated way of modifying and creating platform-specific model from platform-independent ones. An example use of model transformation is ensuring that a family of models is consistent, in a precise sense which the software engineer can define. The aim of using a model transformation is to save effort and reduce errors by automating the building and modification of models where possible.

Overview

Model transformations can be thought of as programs that take models as input. There is a wide variety of kinds of model transformation and uses of them, which differ in their inputs and outputs and also in the way they are expressed.

A model transformation usually specifies which models are acceptable as input, and if appropriate what models it may produce as output, by specifying the metamodel to which a model must conform.

Classification of model transformations

Model transformations and languages for them have been classified in many ways.[1][2][3] Some of the more common distinctions drawn are:

Number and type of inputs and outputs

In principle a model transformation may have many inputs and outputs of various types; the only absolute limitation is that a model transformation will take at least one model as input. However, a model transformation that did not produce any model as output would more commonly be called a model analysis or model query.

Endogenous versus exogenous

Endogenous transformations are transformations between models expressed in the same language. Exogenous transformations are transformations between models expressed using different languages.[4] For example, in a process conforming to the OMG Model Driven Architecture, a platform-independent model might be transformed into a platform-specific model by an exogenous model transformation.

Unidirectional versus bidirectional

A unidirectional model transformation has only one mode of execution: that is, it always takes the same type of input and produces the same type of output. Unidirectional model transformations are useful in compilation-like situations, where any output model is read-only. The relevant notion of consistency is then very simple: the input model is consistent with the model that the transformation would produce as output, only.

For a bidirectional model transformation, the same type of model can sometimes be input and other times be output. Bidirectional transformations are necessary in situations where people are working on more than one model and the models must be kept consistent. Then a change to either model might necessitate a change to the other, in order to maintain consistency between the models. Because each model can incorporate information which is not reflected in the other, there may be many models which are consistent with a given model. Important special cases are:

  • bijective transformations, in which there is exactly one model which is consistent with any given model; that is, the consistency relation is bijective. A pair of models is consistent if and only if it is related by the consistency bijection. Both models contain the same information, but presented differently.
  • view transformations, in which a concrete model determines a single view model, but the same view model might be produced from many different concrete models. The view model is an abstraction of the concrete model. If the view may be updated, a bidirectional transformation is needed. This situation is known in the database field as view-update. Any concrete model is consistent with its view.

It is particularly important that a bidirectional model transformation has appropriate properties to make it behave sensibly: for example, not making changes unnecessarily, or discarding deliberately made changes.[5]

Languages for model transformations

A model transformation may be written in a general purpose programming language, but specialised model transformation languages are also available. Bidirectional transformations, in particular, are best written in a language that ensures the directions are appropriately related. The OMG-standardised model transformation languages are collectively known as QVT.

In some model transformation languages, for example the QVT languages, a model transformation is itself a model, that is, it conforms to a metamodel which is part of the model transformation language's definition. This facilitates the definition of Higher Order Transformations (HOTs),[6] i.e. transformations which have other transformations as input and/or output.

See also

References

  1. ^ Czarnecki; Helsen (2006). "Feature-based survey of model transformation approaches". IBM Systems Journal. 45 (3): 621–645. CiteSeerX 10.1.1.124.9674. doi:10.1147/sj.453.0621.
  2. ^ Stevens, Perdita (2008). "A Landscape of Bidirectional Model Transformations". Generative and Transformational Techniques in Software Engineering II. Lecture Notes in Computer Science. Vol. 5235. Springer. pp. 408–424. doi:10.1007/978-3-540-88643-3_10. ISBN 978-3-540-88642-6.
  3. ^ Jakumeit; Buchwald; Wagelaar; Dan; Hegedüs; Herrmannsdörfer; Horn; Kalnina; Lano; Lepper; Rensink; Rose; Wätzoldt; Mazanek (2014). "A survey and comparison of transformation tools based on the transformation tool contest". Science of Computer Programming. 85: 41–99. doi:10.1016/j.scico.2013.10.009.
  4. ^ Tom Mens, Pieter Van Gorp: A Taxonomy of Model Transformation. Electr. Notes Theor. Comput. Sci. 152: 125-142 (2006)
  5. ^ Stevens, Perdita (2010). "Bidirectional model transformations in QVT: semantic issues and open questions" (PDF). Software and Systems Modeling. 9: 7–20. doi:10.1007/s10270-008-0109-9. S2CID 371579.
  6. ^ Tisi, Massimo (2009). "On the Use of Higher-Order Model Transformations". Model Driven Architecture - Foundations and Applications. LNCS. Vol. 5562. Springer. pp. 18–33. doi:10.1007/978-3-642-02674-4_3. ISBN 978-3-642-02673-7. {{cite book}}: |journal= ignored (help)

Further reading

Read other articles:

Benedetto Alaarcivescovo della Chiesa cattolica  Incarichi ricoperti Governatore di Città di Castello (1602-1604) Governatore di Roma (1604-1610) Vicecamerlengo della Camera apostolica (1604-1610) Arcivescovo metropolita di Urbino (1610-1620)  Natoa Cremona Nominato arcivescovo5 maggio 1610 da papa Paolo V Consacrato arcivescovo9 maggio 1610 dal cardinale Michelangelo Tonti Deceduto27 aprile 1620 a Urbino   Manuale Benedetto Ala (Cremona, ... – Urbino, 27 aprile 1620) è stato …

Rise and fall of the sea level under astronomical gravitational influences Ebbing redirects here. For the song by the Swans, see The Beggar. For the fictional town, see Ebbing, Missouri. For other uses, see Tide (disambiguation). Simplified schematic of only the lunar portion of Earth's tides, showing (exaggerated) high tides at the sublunar point and its antipode for the hypothetical case of an ocean of constant depth without land, and on the assumption that Earth is not rotating; otherwise the…

American actor, comedian (born 1957) Not to be confused with Kevin Pollock. Kevin PollakPollak in 2008BornKevin Elliot Pollak (1957-10-30) October 30, 1957 (age 66)San Francisco, California, U.S.OccupationsActorcomedianimpressionistpodcast hostYears active1982–presentSpouse Lucy Webb ​ ​(m. 1995; div. 2008)​ParentsRobert Pollak (father)Elaine Harlow (mother) Kevin Elliot Pollak (born October 30, 1957) is an American actor, comedian, imp…

Pasien sedang menjalani kemoterapi Kemoterapi (Inggris: chemotherapy) adalah penggunaan zat kimia untuk perawatan penyakit. Dalam penggunaan moderennya, istilah ini hampir merujuk secara eksklusif kepada obat sitostatik yang digunakan untuk merawat kanker. Kemoterapi pada Kanker Pengobatan kanker dewasa ini hampir selalu melibatkan operasi, penyinaran atau kemoterapi. Tujuan kemoterapi pada penyembuhan kanker adalah menghambat atau menghentikan pertumbuhan sel-sel onkogen (kanker) pada tubuh…

خليج هيرفي   الإحداثيات 25°17′07″S 152°52′22″E / 25.285277777778°S 152.87277777778°E / -25.285277777778; 152.87277777778   تقسيم إداري  البلد أستراليا[1]  التقسيم الأعلى كوينزلاند  خصائص جغرافية ارتفاع 18 متر  عدد السكان  عدد السكان 57722 (10 أغسطس 2021)[2]  معلومات أخرى 4655  رمز…

Uten Enten AuthorHaruki MurakamiOriginal title雨天炎天Uten EntenCountryJapanLanguageJapaneseGenreTravel literature, EssayPublisherShinchosha (Japan)Publication dateFeb 25, 2008 (Renewal edition)Published in English-Media typePrint (Paperback)Pages286 pp (Renewal edition)ISBN978-4-10-353419-8 (Renewal edition)OCLC226807811 Uten Enten (雨天炎天)[1] is a road essay by Japanese author Haruki Murakami, about his travels in Greece and Turkey. The essays were first publis…

У этого термина существуют и другие значения, см. Горностай (значения). Горностай Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:Челюстноротые…

Lou FerrignoFerrigno tahun 2018LahirLouis Jude Ferrigno9 November 1951 (umur 72)New York City, Amerika SerikatPekerjaanBinaraga, aktorTahun aktif1971–sekarangSuami/istri Susan Groff ​ ​(m. 1978; c. 1979)​ Carla Green ​ ​(m. 1980; pisah 2023)​ Anak3 Louis Jude Ferrigno Sr. (/fəˈrɪɡnoʊ/; lahir 9 November 1951)[1] adalah aktor dan pensiunan binaragawan profesional asal Amerika Se…

artikel ini perlu dirapikan agar memenuhi standar Wikipedia. Tidak ada alasan yang diberikan. Silakan kembangkan artikel ini semampu Anda. Merapikan artikel dapat dilakukan dengan wikifikasi atau membagi artikel ke paragraf-paragraf. Jika sudah dirapikan, silakan hapus templat ini. (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) Artikel atau bagian artikel ini diterjemahkan secara buruk. Kualitas terjemahannya masih kurang bagus. Bagian-bagian yang mungkin diterjemahkan dari …

Human settlement in EnglandClothallChurch of St Mary the Virgin, ClothallClothallLocation within HertfordshireCivil parishClothallDistrictNorth HertfordshireShire countyHertfordshireRegionEastCountryEnglandSovereign stateUnited KingdomPost townBaldockPostcode districtSG7 List of places UK England Hertfordshire 51°58′N 0°09′W / 51.967°N 0.150°W / 51.967; -0.150 Clothall is a village and civil parish in the county of Hertfordshire, England, with a pop…

此條目可参照英語維基百科相應條目来扩充。 (2021年5月6日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 约翰斯顿环礁Kalama Atoll 美國本土外小島嶼 Johnston Atoll 旗幟颂歌:《星條旗》The Star-Spangled Banner約翰斯頓環礁地…

Name of several comic book titles featuring the team Alpha Flight and published by Marvel Comics Alpha FlightCover to Alpha Flight (vol. 1) #1 by John ByrnePublication informationPublisherMarvel ComicsScheduleOngoing (vol. 1–3)Limited (vol. 4–5)FormatOngoing seriesGenreSuperheroPublication date(Vol. 1) August 1983 – March 1994(Vol. 2)August 1997 – March 1999(Vol. 3) May 2004 – April 2005(Vol. 4) July 2011 – January 2012(Vol. 5) August 2023 – presentNo. of issues(vol. 1)130, 2 annua…

Former state electoral district of New South Wales, Australia This article is about the former NSW Legislative Assembly seat. For the Australian House of Representatives seat, see Division of Macquarie. For the former Tasmanian Legislative Council seat, see Electoral division of Macquarie. Macquarie, until 1910 The Macquarie was an electoral district of the Legislative Assembly in the Australian state of New South Wales, created in 1894 and named after the Macquarie River. It was re-created in 1…

Debate since the mid-19th century Durham UniversityUniversity of LondonUniversity College LondonKing's College London The third-oldest university in England debate[note 1] has been carried out since the mid-19th century, with rival claims being made originally by Durham University as the third-oldest officially recognised university (1832) and the third to confer degrees (1837) and the University of London as the third university to be granted a royal charter (1836). These have been join…

Snake ValleySheep grazing in southern Snake ValleySnake ValleyShow map of UtahSnake ValleyShow map of the United StatesLong-axis directionNorth-SouthGeographyCoordinates39°51′00″N 113°45′03″W / 39.85000°N 113.75083°W / 39.85000; -113.75083  Snake Valley is a north-south trending valley that straddles the Nevada–Utah border in the central Great Basin. It is bound by the Snake Range and the Deep Creek Mountains to the west and the Confusion Range to the …

Not to be confused with Social Justice (journal). Social JusticeA Michigan couple listens to the radio and reads Father Coughlin's newspaper Social Justice (1939).TypeWeeklyOwner(s)Thomas J. CoughlinAmelia CoughlinPublisherNational Union for Social JusticeEditorCharles CoughlinE. Perrin SchwartzStaff writersCora QuinlanFoundedMarch 13, 1936LanguageEnglishCeased publication1942HeadquartersRoyal Oak, MichiganCirculation200,000OCLC number01773391 Social Justice was a topical political periodical pu…

English association football leagues Division of Level 6 to Level 9 teams in the 2022/23 season The National League System comprises the six levels of the English football league system immediately below the level of the English Football League. It comes under the jurisdiction of The Football Association. The National League System has a hierarchical format with promotion and relegation between leagues at different levels. For details of leagues above and below the National League System, see th…

أغريا    خريطة الموقع تقسيم إداري البلد اليونان  [1] إحداثيات 39°20′24″N 23°00′48″E / 39.34000556°N 23.01326667°E / 39.34000556; 23.01326667   السكان التعداد السكاني 4928 (resident population of Greece) (2021)5190 (resident population of Greece) (2001)4522 (resident population of Greece) (1991)5191 (resident population of Greece) (2011)  معلومات أخرى 3…

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (ديسمبر 2018) 49° خط طول 49 شرق خريطة لجميع الإحداثيات من جوجل خريطة لجميع الإحداثيات من بينغ تصدير جميع الإحداثيات من كيه …

Carlos Rodríguez Carlos Rodríguez en 2016.Información personalNombre de nacimiento Carlos Damián RodríguezNacimiento 13 de enero de 1972 (52 años)Campana, ArgentinaNacionalidad ArgentinoInformación profesionalOcupación Músico, artista, compositor, escritorAños activo 1989–presenteSeudónimo NekroIl CarloBoom Boom KidVoom Vaan KinderEl Principito hardcoreEl sol de AméricaGénero Rock alternativoHardcore punkHardcore melódicoThrash metalCountryInstrumentos Guitarra, voz, teclado…