Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » QVTo and OCL
QVTo and OCL [message #926330] Fri, 28 September 2012 14:48 Go to next message
Cuauhtemoc CastellanosFriend
Messages: 9
Registered: September 2012
Location: paris
Junior Member
Hi all!

I'm a new user of QVTo and i'm wondering about some features inherited of the OCL standard.
In the QVT standard it says that the ordered the bag and the sequence collection type are defined. But I have tried to use sequence type whith collection operation defined in OCL but I haven't succeed to use it. I used the the completion assistant but I didn't find any clue too.

someone can enligth me please, thank you.
Re: QVTo and OCL [message #926339 is a reply to message #926330] Fri, 28 September 2012 14:54 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Completion assist is not always perfect, so perhaps that fooled you.

Sequence, Bag, Set and OrderedSet are all 'inherited' from OCL and
augmented by List and Dict. They work.

Without any example of what doesn't work for you, I can only guess:

A very common user mistake is to use . rather than -> for collection
navigation.

Regards

Ed Willink

On 28/09/2012 15:48, castellanoscuauhtemoc@xxxxxxxx cuauhtemoc wrote:
> Hi all!
>
> I'm a new user of QVTo and i'm wondering about some features inherited
> of the OCL standard.
> In the QVT standard it says that the ordered the bag and the sequence
> collection type are defined. But I have tried to use sequence type
> whith collection operation defined in OCL but I haven't succeed to use
> it. I used the the completion assistant but I didn't find any clue too.
>
> someone can enligth me please, thank you.
Re: QVTo and OCL [message #929350 is a reply to message #926339] Mon, 01 October 2012 11:38 Go to previous message
Cuauhtemoc CastellanosFriend
Messages: 9
Registered: September 2012
Location: paris
Junior Member
thanks you, it works very well.
it was my mistake.
Previous Topic:[QVTo] Multiple Output Models
Next Topic:Save Traces to a file during a standalone transformation run
Goto Forum:
  


Current Time: Thu Apr 25 14:07:06 GMT 2024

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

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

Back to the top