Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Reuse of EOL operations in ETL
Reuse of EOL operations in ETL [message #587653] Thu, 25 March 2010 08:02
Eclipse User
Originally posted by: c.k.holmes.lboro.ac.uk

Hi,
I would like to access a number of operations captured in EOL in the
form shown below from within an ETL scipt.

operation MyType myOperation() : MyReturnType {
<blah>
}

I'm running ETL via ANT and ETL seems to expect to be passed in the
source model such that the type is expressed as:
MyModel!MyType

e.g.
MyRule
transform inThing : InModel!InType
to outThing : OutModel!OutType {
var myObj : MyModel!MyType := <some expression>;
<blah>;
myObj.myOperation();
}

The call myObj.myOperation() appears to be resolved such that it finds
the relevant eol file (which is imported at the top of the ETL script,
but then fails with the error message stating that the type MyType could
not be found. How do I dereference MyModel!MyType such that I can invoke
EOL operations on type MyType from within the ETL script?

Regards,
Chris
Previous Topic:ETL, problem with a data type
Next Topic:Reuse of EOL operations in ETL
Goto Forum:
  


Current Time: Sun Apr 20 09:38:11 EDT 2014

Powered by FUDForum. Page generated in 0.01782 seconds