Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] How to output custom structured xmi file.
[ATL] How to output custom structured xmi file. [message #83578] Tue, 03 June 2008 14:33
Eclipse UserFriend
Originally posted by:

Hello Everyone,

I have an ATL code that i use to get the required information from the UML
Model. But i want to output this data in a specifically organized xmi
format. Is it possible to create such multiple hierarchies at the output

Currently, using the ATL i can do it for two layers but what for multiple
layers.I have tried this code:

rule processor {
from s :UML2!Component(s.isStereotypeApplied('HwProcessor') )
to t : MYUML!component ( name<,

cpus<-icpus ),

ibusIf :
imodel : MYUML!model
icpus : MYUML!cpus
prt :
icpu : MYUML!cpu

Here i try to create the component object and in it, i create the
name,busInterface,model and cpus. But when I want to extend this
hierarchy, I mean i create ports in the model and cpu in the cpus, it
actually creates them outside the processor main component.

I wanted to have multiple hierarchies. Any help is really appreciating.

Thanks alot,

Previous Topic:[QVT] its output model is in only XMI?
Next Topic:[ATL][UML] set stereotyped tagged value
Goto Forum:

Current Time: Sat Jun 06 05:50:02 GMT 2020

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

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

Back to the top