Skip to main content



      Home
Home » Modeling » Epsilon » types of an OCL expression in ETL
types of an OCL expression in ETL [message #1751684] Thu, 12 January 2017 08:39 Go to next message
Eclipse UserFriend
I know ATL does not offer any support nor API to statically obtain the types of an OCL expression. I want to know does ETL offer? (the model with the OCL navigations parsed)

[Updated on: Thu, 12 January 2017 08:40] by Moderator

Re: types of an OCL expression in ETL [message #1751686 is a reply to message #1751684] Thu, 12 January 2017 08:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

anATLyzer [1] may be providing such capabilities for ATL. For ETL, Haetae could be of use [2] but I'm afraid I don't have much hands-on experience with it. The fastest way to contact Haetae's developers would be to open an issue on GitHub.

Cheers,
Dimitris

[1] http://sanchezcuadrado.es/projects/anatlyzer/usage.html
[2] https://github.com/epsilonlabs/haetae
Re: types of an OCL expression in ETL [message #1751687 is a reply to message #1751686] Thu, 12 January 2017 09:04 Go to previous messageGo to next message
Eclipse UserFriend
Many thanks for your kind help
Re: types of an OCL expression in ETL [message #1751746 is a reply to message #1751684] Fri, 13 January 2017 07:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi there,

To obtain the types of expression of an ETL transformation, in Eclipse, Haetae provides an "overview" view to view the entire tree of the program. However, Haetae provides a "best guess" solution. Expressions with type "Any" will be recorded as "Any" on the overview, although internally different things happen.

You can also do this programmatically, but that requires further explanation. Please let me know if this is the direction you want to go.

Cheers,
Will
Re: types of an OCL expression in ETL [message #1755720 is a reply to message #1751746] Tue, 07 March 2017 03:53 Go to previous messageGo to next message
Eclipse UserFriend
thank you.

I need the extraction of the navigation paths, traversing through iterators, ...
e.g. if we have "s.ownedProperty.class -> collect(e|e.attribute.type) -> collect(f|f.date)", where "s" is of type "Bank". I want to retrieve : "Bank.ownedProperty.class.attribute.type.date"

Does Haetae provide this facility or I should write the code myself?

[Updated on: Tue, 07 March 2017 04:05] by Moderator

Re: types of an OCL expression in ETL [message #1755820 is a reply to message #1755720] Wed, 08 March 2017 07:19 Go to previous message
Eclipse UserFriend
Hi,

In theory, in EOL you can write something like s.ownedProperty.class.attribute.type.date, depending on the types of the properties you are accessing here (which I do not know).

Haetae does not provide facility for refactoring as it is non-invasive to EOL programs (at least for now).

Cheers,
Will
Previous Topic:[EVL] [EPL] Intermediate models
Next Topic:Accessing EPL and EVL intermediate models
Goto Forum:
  


Current Time: Wed Jul 23 19:27:41 EDT 2025

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

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

Back to the top