Book a Demo

Author Topic: OCL in transformations  (Read 4057 times)

Max H

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
    • SafeCode Consulting
OCL in transformations
« on: March 16, 2008, 05:08:03 pm »
Can OCL within the model be parsed in order to alter features in a transformation?

Based on what I've read so far, I believe the answer is that the OCL may be available only as straight text in the form of a note, but cannot be parsed and transformed within the template.  Is my interpretation correct?

Vero

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: OCL in transformations
« Reply #1 on: April 09, 2008, 11:12:46 pm »
Hi Maxh,

Did you go further with this topic? I am also interested.

Cheers

Max H

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
    • SafeCode Consulting
Re: OCL in transformations
« Reply #2 on: April 10, 2008, 10:35:39 am »
I haven't really dug into it yet.  I had hoped that someone on the forum would be able to provide a quick-n-easy answer.  

It seems like a major weakness in the tool if the OCL can't be parsed; but then parsing it seems non-trivial as well.

thomas.kilian

  • Guest
Re: OCL in transformations
« Reply #3 on: April 10, 2008, 06:35:33 pm »
I think that with more people gaining use of OCL inside EA that could give Sparx a push to develop their parser. The number of discussions around OCL is definitly increasing, but only slightly. So honestly I would not expect a major boost in OCL parser development which is a real pity. EA could be much, much more powerful with a fully fledged OCL parser. Maybe in version 10 or so.

Vero

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: OCL in transformations
« Reply #4 on: April 11, 2008, 12:24:46 am »
So, we will see what will happen in the future...

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: OCL in transformations
« Reply #5 on: April 11, 2008, 02:54:04 am »
But please submit a feature request directly to Sparx.

That's how they prioritize these things. You'll find the necessary page by clicking the Feature Request link below the Support link near the botton of any forum page.

Just posting a thread in the Suggestions and Requests section is not enough; this is a user forum. You could however paste in the address of this thread so Sparx can participate in discussions or suggest workarounds.

Please also post back if you get a response from Sparx.

David
No, you can't have it!