Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » ATL code
ATL code [message #704681] Fri, 29 July 2011 00:03
Andr is currently offline AndrFriend
Messages: 1
Registered: July 2011
Location: Portugal
Junior Member
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: Sun Sep 22 07:34:17 GMT 2024

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

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

Back to the top