Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Amalgam » Is there any way to generate an indefinite number of target models in a qvto m2m transformation?
Is there any way to generate an indefinite number of target models in a qvto m2m transformation? [message #583855] Mon, 24 August 2009 15:45
Toñi Reina is currently offline Toñi Reina
Messages: 206
Registered: July 2009
Senior Member
Hi all,

my question is related to the mindmap2xhtml (included in the book
Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit) or
the Uml2Xhtml example that Sergey has mentioned in his answer to my
previous question
('org.eclipse.m2m/org.eclipse.m2m.qvt.oml/examples/org.eclip se.m2m.qvt.oml.econ2009.tutorial').

In both cases a unique xhtml file is generated that contains all the
mindmap information, in the first example, and all the uml model
information in the second one. But what if I want to generate different
xhtml files, one for each topic, in the first example, and one for
each class in the second one.

In both cases the number of instances of the output metamodel is
variable, because it depends on the number of topics in the first
example, and on the number of classes in the second one. My question is:
is there any way of specifying this in qvto?

Best regards,
Toñi
Previous Topic:Question about the mindmap2xhtml.qvto transformation
Next Topic:Question about the construct keyword.
Goto Forum:
  


Current Time: Sun Oct 26 01:13:56 GMT 2014

Powered by FUDForum. Page generated in 0.08058 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software