Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » ATL code
ATL code [message #704681] Thu, 28 July 2011 20:03
Eclipse UserFriend
Hello everyone,

i am having a problem understading how ATL works. I am trying to transform from a KAOS model to a Component Diagram model(from UML). I am Starting by doing a simple transformation. The problem is that my solution is not working.I want to transform three system agents to three components. The problem is that i have a class the works as a compartment, so any transformation i do, must be inside it. In imperative programming i would define a class, then create an array as a private member and then i would add elements i wanted to its array member. But since ATL uses OCL notation, i want something like:

ComponentDiagram.hasComponents<-Set{KAOS!SystemAgent.allInstances('IN')}
and SystemAgent.name<-Component.name
Previous Topic:Performance issues w.r.t. QVTO compiler and interpreter
Next Topic:What transformation engine for my use-case
Goto Forum:
  


Current Time: Mon Jul 07 23:34:30 EDT 2025

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

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

Back to the top