请输入您要查询的百科知识:

 

词条 QVT
释义

  1. Overview

  2. History

  3. Implementations

  4. See also

  5. References

QVT (Query/View/Transformation) is a standard set of languages for model transformation defined by the Object Management Group.

Overview

Model transformation is a key technique used in model-driven architecture. As the name QVT indicates, the OMG standard covers transformations, views and queries together. Model queries and model views can be seen as special kinds of model transformation, provided that we use a suitably broad definition of model transformation: a model transformation is a program which operates on models.

The QVT standard defines three model transformation languages. All of them operate on models which conform to Meta-Object Facility (MOF) 2.0 metamodels; the transformation states which metamodels are used. A transformation in any of the three QVT languages can itself be regarded as a model, conforming to one of the metamodels specified in the standard. The QVT standard integrates the OCL 2.0 standard and also extends it with imperative features.

  • QVT-Operational is an imperative language designed for writing unidirectional transformations.
  • QVT-Relations is a declarative language designed to permit both unidirectional and bidirectional model transformations to be written. A transformation embodies a consistency relation on sets of models. Consistency can be checked by executing the transformation in checkonly mode; the transformation then returns True if the set of models is consistent according to the transformation and False otherwise. The same transformation can be used in enforce mode to attempt to modify one of the models so that the set of models will be consistent. The QVT-Relations language has both a textual and a graphical concrete syntax.
  • QVT-Core is a declarative language designed to be simple and to act as the target of translation from QVT-Relations. However, QVT-Core has never had a full implementation and in fact it is not as expressive as QVT-Relations.[2] Hence the QVT Architecture pictured above is misleading: the transformation from QVT-Relations to QVT-Core given in the QVT Standard is not semantics-preserving.

Finally, QVT-BlackBox is a mechanism to invoke transformation facilities expressed in other languages (for example XSLT or XQuery).

Although QVT has a broad scope, it does not cover everything that has been considered as a model transformation, view or query. For example, the QVT languages do not permit transformations to or from textual models, since each model must conform to some MOF 2.0 metamodel. Model-to-text transformations are being standardised separately by OMG (see MOFM2T).

History

In 2002, OMG issued a Request for proposal (RFP) on MOF Query/View/Transformation to seek a standard compatible with the Model Driven Architecture (MDA) recommendation suite (UML, MOF, OCL, etc.).

Several replies were given by a number of companies and research institutions that evolved during three years to produce a common proposal, based on a draft by UK research Dr Laurence Tratt. The first version was submitted and approved in 2005.[3] QVT Version 1.1 was released in January 2011.

Implementations

QVT-Operational:

  • Borland Together contains an implementation of QVT Operational, which has been contributed[1] to the Eclipse Foundation and is now developed as the Eclipse M2M Operational QVT project.
  • Eclipse M2M Operational QVT: official Eclipse open source implementation of QVT Operational.[6]
  • MagicDraw has the QVT plugin which uses Operational QVT implementation that is provided by the Eclipse M2M project.
  • SmartQVT: an Eclipse open source implementation (Orange Labs) of the QVT-Operational language.

QVT-Core:

  • OptimalJ: Early access implementation of the QVT-Core language was in OptimalJ version 3.4 from Compuware. However, OptimalJ has been discontinued.

QVT-Relations:

  • ModelMorf: A proprietary tool from Tata Consultancy Services Ltd. Fully compliant with QVT-Relations language. The trial version[7] provides a command line utility which consumes and produces models in XMI form. A full-fledged, repository integrated version is available as part of their proprietary modeling framework.[8]
  • MediniQVT:[9] EMF based transformation engine with EPL license for engine and non-commercial license editor/debugger. Uses QVT-Relations syntax, but deliberately departs from the semantics of the OMG standard.[10]
  • The Eclipse M2M project aims to produce an implementation of QVT Core and Relations.[6]
  • Echo,[12] an open-source EMF-based tool for model repair and transformation built over the Alloy model finder, which provides an implementation of QVT-Relations syntax, but using semantics that deliberately depart from the OMG specification.

QVT-Like:

  • jQVT:[13] A compiled QVT engine for Java, using Xbase in place of OCL. A QVT-relational transformation is first compiled into Java source code, which then directly produces the target model from source ones at run-time, without interpreting the transformation rule again. It supports EMF models, as well as plain Java objects.
  • Tefkat : an open source implementation of Tefkat language which is also similar to QVT. Open source.
  • ATL : a component in the M2M Eclipse project. ATL is a QVT-like transformation language and engine with a large user community and an open source library of transformations.
  • Model Transformation Framework (MTF):[14] an IBM alphaWorks project, last updated in 2007.

See also

  • List of available transformation languages
  • MOF Model to Text Transformation Language - OMG's transformation language specification for expressing M2T transformations
  • Model-driven engineering (MDE)
  • Model Driven Architecture (MDA): OMG's vision of MDE
  • Domain-specific language (DSL)
  • Meta-Object Facility (MOF): a language to write metamodels
  • Object Constraint Language (OCL): a model constraint (and query) language
  • Model transformation
  • Model transformation language
  • Metamodel

References

1. ^[m2m-dev] Borland QVT contribution] {{webarchive |url=https://web.archive.org/web/20120225213412/http://dev.eclipse.org/mhonarc/lists/m2m-dev/msg00003.html |date=February 25, 2012 }}
2. ^{{Cite web | publisher=Object Management Group | first1=Wim | last1=Bast | first2=Michael | last2=Murphree | first3=Michael | last3=Lawley | first4=Keith | last4=Duddy | first5=Mariano | last5=Belaunde | first6=Catherine | last6=Griffin | first7=Shane | last7=Sendall | first8=Didier | last8=Vojtisek | first9=Jim | last9=Steel | first10=Simon | last10=Helsen | first11=Laurence | last11=Tratt | first12=Sreedhar | last12=Reddy | first13=R. | last13=Venkatesh | first14=Xavier | last14=Blanc | first15=Radek | last15=Dvorak | first16=Ed | last16=Willink | title = Meta Object Facility (MOF) 2.0 Query/View/Transformation (QVT) | url=http://www.omg.org/spec/QVT/1.0 | accessdate = 1 Nov 2013|format=pdf }}
3. ^{{Cite journal | doi=10.1007/s10270-011-0198-8 | last=Stevens | first=Perdita | title=A simple game-theoretic approach to checkonly QVT Relations | publisher=Springer | location=Berlin / Heidelberg | year=2011 | journal=Software and Systems Modeling| volume=12 | pages=175 }}
4. ^Eclipse M2M Project. {{cite web |url = http://www.eclipse.org/m2m/ |title = Archived copy |accessdate = 2011-05-09 |deadurl = no |archiveurl = https://web.archive.org/web/20121203221732/http://www.eclipse.org/m2m/ |archivedate = 2012-12-03 |df = }} . Retrieved 9 May 2011.
5. ^ModelMorf beta. {{cite web |url=http://www.tcs-trddc.com/trddc_website/ModelMorf/ModelMorf.htm |title=Archived copy |accessdate=May 9, 2011 |deadurl=yes |archiveurl=https://web.archive.org/web/20120323171429/http://www.tcs-trddc.com/trddc_website/ModelMorf/ModelMorf.htm |archivedate=March 23, 2012 }} . Retrieved 9 May 2011.
6. ^TCS Code Generator Framework (previously known as MasterCraft). {{cite web |url=http://www.tcs.com/offerings/technology-products/code-generator-framework/Pages/default.aspx |title=Archived copy |accessdate=May 9, 2011 |deadurl=yes |archiveurl=https://web.archive.org/web/20110809040534/http://www.tcs.com/offerings/technology-products/code-generator-framework/Pages/default.aspx |archivedate=August 9, 2011 }} . Retrieved 9 May 2011.
7. ^Medini QVT. {{cite web |url=http://projects.ikv.de/qvt/wiki |title=Archived copy |accessdate=2009-08-13 |deadurl=no |archiveurl=https://web.archive.org/web/20160729174054/http://projects.ikv.de/qvt/wiki |archivedate=2016-07-29 |df= }} . Retrieved 9 May 2011.
8. ^Echo. https://haslab.github.io/echo.{{dead link|date=July 2016 |bot=InternetArchiveBot |fix-attempted=yes }} Retrieved 2 Nov 2013.
9. ^{{Citation | last1 = Kiegeland | first1 = J. | last2 = Eichler | first2 = H. | contribution = medini QVT workshop | place = Enschede, Telematica Instituut |date=February 2008|access-date=2015-09-24|format=ppt|title=medini QVT workshop|publisher=ikv++ technologies ag | url = http://projects.ikv.de/qvt/downloads/22 }}
10. ^jQVT. {{cite web |url=https://sourceforge.net/projects/jqvt/ |title=Archived copy |accessdate=2012-11-10 |deadurl=no |archiveurl=https://web.archive.org/web/20160307214956/https://sourceforge.net/projects/jqvt/ |archivedate=2016-03-07 |df= }}
11. ^Model Transformation Framework. http://www.alphaworks.ibm.com/tech/mtf . Retrieved 9 May 2011.
[2][3][4][5][6][7][8][9][10][11]
}}{{DEFAULTSORT:Qvt}}Model-driven architecture

2 : Systems engineering|Unified Modeling Language

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/14 14:39:32