user3679797
user3679797

Reputation: 41

what's the difference between QVTo and QVTr transformation?

I want to do a model to model transformation, from a model based on Java metamodel to a model based on C++ metamodel. I did some research and I found that QVT allow a bidirectional transformation but there is two types of QVT and I don't understand the difference between them, who is the more suitable for my project QVTo or QVTr ?

Upvotes: 0

Views: 516

Answers (1)

Arcanefoam
Arcanefoam

Reputation: 727

The difference between the two is the nature of the languages, QVTr is declarative and QVTo is imperative. In this particular case, another important factor when taking your decision is current tool support. A mature and stable implementation of QVTo is part of the Eclipse Modeling Project. For QVTr current support is more limited. There is an ongoing development available as part of the Eclipse Modeling Project too.

In the mean time I would recommend you to consider alternatives as such as Epsilon, which does not only provide a transformation language (ETL) but also other languages to work with models. You can find more information about them here: Eclipse MMT Projects

Upvotes: 0

Related Questions