Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [qvto]how to transform undefined attributes
icon5.gif  [qvto]how to transform undefined attributes [message #800142] Thu, 16 February 2012 13:53 Go to previous message
Allen Zhang is currently offline Allen Zhang
Messages: 14
Registered: February 2012
Junior Member
If the meta model does not explicitly define the attribute of a node. e.g.:
M1: <A a1="a1" a2="a2" />

a1 is defined in the meta model, but a2 is not.

If I want to transform M1 to M2 (M1 and M2's meta model is the same),
M2: <A a1="a1" a2="a2" />

for a1:
a1 := self.a1

but how should I treat a2?

[Updated on: Thu, 16 February 2012 13:54]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[ATL] Compiling ATL files to ASM in build system
Next Topic:[ATL] How to know type of a model element in condition of matched rule
Goto Forum:
  


Current Time: Sat May 25 09:23:11 EDT 2013

Powered by FUDForum. Page generated in 0.01760 seconds