problems with ETL [message #505702] |
Mon, 04 January 2010 15:13 |
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]"
Thanks !!!
[Updated on: Mon, 04 January 2010 15:14] Report message to a moderator
|
|
|
|
Re: problems with ETL [message #505783 is a reply to message #505720] |
Mon, 04 January 2010 23:33 |
c Messages: 36 Registered: December 2009 |
Member |
|
|
Hello again:
Thank you for answering me. I order you a mail, to your personal e-mail, but you did not answer me. It is this mail attach a document .word in that my doubts are understood better, because here in the forum I cannot stick images.
My doubts are:
The first doubt is that I have a file 'UML.ecore'. This file this one formed(trained) by a package 'uml' and inside the package they exist element as(like) for example 'element', 'package' .... etc.
Since I can accede to these element in the rules ETL??
For example if I write
' rule String2Varchar
transform pr:UML! PrimitiveType
to v:modeloOR! PrimitiveType {'
the parameter 'PrimitiveType' is not recognized if it is inside the package 'uml'.
In order that the rule ETL 'String2Varchar' works correctly, the element 'PrimitiveType' has to be declared out of the package 'uml'.
Since I can declare the function in order that it(he,she) recognizes me the element 'PrimitiveType' that this inside the package 'uml'??
I have proved(tried) this
' rule String2Varchar
transform pr:UML! uml.PrimitiveType
to v:modeloOR! PrimitiveType {'
, But mistakes appear.
The second doubt that you have answered me is not understood by me well.
This one saying that the functions that they declare like ' unique lazy rule ' in ATL, must be declared in ETL as
' (@cache)?
(@lazy)?
Operation .... "????????
'
In the third doubt, if I write 'v.model', I have to put the word 'model' with commas because it is a word reserved of ETL. But it is still giving me mistakes...
'
Thanks
[Updated on: Mon, 04 January 2010 23:35] Report message to a moderator
|
|
|
Re: problems with ETL [message #505789 is a reply to message #505783] |
Tue, 05 January 2010 00:12 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi,
I haven't had a chance to look at this properly as I'm currently on
holiday. I'm back in office next week so I'll have a closer look at this
and get back to you then.
Cheers,
Dimitris
c wrote:
> Hello again:
> Thank you for answering me. I order you a mail, to your personal e-mail,
> but you did not answer me. It is this mail attach a document .word in
> that my doubts are understood better, because here in the forum I cannot
> stick images.
> My doubts are:
> The first doubt is that I have a file 'UML.ecore'. This file this one
> formed(trained) by a package 'uml' and inside the package they exist
> element as(like) for example 'element', 'package' .... etc.
> Since I can accede to these element in the rules ETL??
> For example if I write ' rule String2Varchar
> transform pr:UML! PrimitiveType
> to v:modeloOR! PrimitiveType {' the parameter 'PrimitiveType' is not
> recognized if it is inside the package 'uml'.
> In order that the rule ETL 'String2Varchar' works correctly, the element
> 'PrimitiveType' has to be declared out of the package 'uml'.
> Since I can declare the function in order that it(he,she) recognizes me
> the element 'PrimitiveType' that this inside the package 'uml'??
> I have proved(tried) this
> ' rule String2Varchar
> transform pr:UML! uml.PrimitiveType to v:modeloOR! PrimitiveType {' ,
> But mistakes appear.
> The second doubt that you have answered me is not understood by me well.
> This one saying that the functions that they declare like ' unique lazy
> rule ' in ATL, must be declared in ETL as ' (@cache)?
> (@lazy)?
> Operation .... "????????
> '
> Thanks
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
|
|
|
|
|
Re: problems with ETL [message #584321 is a reply to message #584308] |
Tue, 05 January 2010 00:12 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi,
I haven't had a chance to look at this properly as I'm currently on
holiday. I'm back in office next week so I'll have a closer look at this
and get back to you then.
Cheers,
Dimitris
c wrote:
> Hello again:
> Thank you for answering me. I order you a mail, to your personal e-mail,
> but you did not answer me. It is this mail attach a document .word in
> that my doubts are understood better, because here in the forum I cannot
> stick images.
> My doubts are:
> The first doubt is that I have a file 'UML.ecore'. This file this one
> formed(trained) by a package 'uml' and inside the package they exist
> element as(like) for example 'element', 'package' .... etc.
> Since I can accede to these element in the rules ETL??
> For example if I write ' rule String2Varchar
> transform pr:UML! PrimitiveType
> to v:modeloOR! PrimitiveType {' the parameter 'PrimitiveType' is not
> recognized if it is inside the package 'uml'.
> In order that the rule ETL 'String2Varchar' works correctly, the element
> 'PrimitiveType' has to be declared out of the package 'uml'.
> Since I can declare the function in order that it(he,she) recognizes me
> the element 'PrimitiveType' that this inside the package 'uml'??
> I have proved(tried) this
> ' rule String2Varchar
> transform pr:UML! uml.PrimitiveType to v:modeloOR! PrimitiveType {' ,
> But mistakes appear.
> The second doubt that you have answered me is not understood by me well.
> This one saying that the functions that they declare like ' unique lazy
> rule ' in ATL, must be declared in ETL as ' (@cache)?
> (@lazy)?
> Operation .... "????????
> '
> Thanks
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05030 seconds