Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL]problem accessing elements in the target model
[ATL]problem accessing elements in the target model [message #537895] Fri, 04 June 2010 02:36 Go to next message
Eclipse UserFriend
Hello,

I'm intending to make a model transformation between a DSML (Domain Specific Modeling Language) that I have defined and the IMS specification, which is a standard.
My problem is that this specification elements' name are in that form:
"learning-objectives" , "learning-design"
You may guess that when I want to write the mapping rule, I can not access the elements of that target meta model, since ATL doesn't consider this nomination way as a valid one.
From my needs, I had to make a double transformation between the to metamodels, one from CAAML meta model (my DSML name) to IMS, and another from IMS to CAAML. For that last one, I solved the problem by accessing my source element with that method
learningDesign <- s.refGetValue('learning-design')
But I notice that is the other way, I can not access my target model elements in the binding block with a method.
Could anyone help me on that stuff, it really urges!!

Thanks all in advance

Hajer OUALHA

[Updated on: Fri, 04 June 2010 03:06] by Moderator

Re: [ATL]problem accessing elements in the target model [message #537914 is a reply to message #537895] Fri, 04 June 2010 03:37 Go to previous messageGo to next message
Eclipse UserFriend
Just use quotes : "learning-design"
Re: [ATL]problem accessing elements in the target model [message #537934 is a reply to message #537914] Fri, 04 June 2010 04:48 Go to previous message
Eclipse UserFriend
Thank you very much Sylvain!
I haven't thought about it!
Previous Topic:[ATL] Launching ATL from Java
Next Topic:[ATL] how to register multiple metamodel with Generic engine
Goto Forum:
  


Current Time: Wed Jun 18 02:50:11 EDT 2025

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

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

Back to the top