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 10:48 Go to next message
Cuauhtemoc Castellanos
Messages: 8
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 10:54 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4014
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 07:38 Go to previous message
Cuauhtemoc Castellanos
Messages: 8
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: Sat Aug 02 00:52:41 EDT 2014

Powered by FUDForum. Page generated in 0.02520 seconds