Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » problems with ETL
problems with ETL [message #584287] Mon, 04 January 2010 15:13 Go to next message
c  is currently offline c
Messages: 36
Registered: December 2009
Member
I turn him to writing because I have some problems programming the rules in ETL.
I have some doubts.

The first one is that in the file "UML.model" I do not know like to accede to the elements that are inside the package "uml".
Since I accede to the element that this inside the package uml???


The second problem is that the rules that they declare in ATL since " unique lazy rule " declare themselves in ETL as "operation"??

The third problem is that I have v.Model:=package(); And on having assigned value to the variable 'model' me the mistake appears

"Property 'Model' not found in object PrimitiveType [Name=CHAR]"

Thank !!!
Re: problems with ETL [message #584300 is a reply to message #584287] Mon, 04 January 2010 16:12 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Please see comments below

c wrote:
> I turn him to writing because I have some problems programming the rules
> in ETL.
> I have some doubts.
>
> The first one is that in the file "UML.model" I do not know like to
> accede to the elements that are inside the package "uml".
> Since I accede to the element that this inside the package uml???

Not sure I understand this. Could you please elaborate?

>
>
> The second problem is that the rules that they declare in ATL since "
> unique lazy rule " declare themselves in ETL as "operation"??

parameter-less operations annotated with @cached (so that they are
executed only once) is probably the way to go

>
> The third problem is that I have v.Model:=package(); And on having
> assigned value to the variable 'model' me the mistake appears
>
> "Property 'Model' not found in object PrimitiveType [Name=CHAR]"

I've looked at the metamodel and I think it should be v.model instead of
v.Model

>
> Thank !!!

Cheers,
Dimitris

--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:NullPointerException at org.eclipse.epsilon.emc.emf
Next Topic:[EUGENIA] Different types of diagrams like UML2 Tools
Goto Forum:
  


Current Time: Fri Sep 19 18:12:56 GMT 2014

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

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