Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » "at" operation with ordered set
"at" operation with ordered set [message #1015678] Fri, 01 March 2013 11:36 Go to next message
Fernando Ayata is currently offline Fernando Ayata
Messages: 12
Registered: February 2013
Junior Member
Hi All,
I try to use the "at" operation with ordered set.
I have this error
Operation not found: OrderedSet {ProcessModel!<unnamed>}.at(java.lang.Integer)

but when I add .asSequence() before, it works!!!!

In the ATL manual, I find the "at" operation in "4.1.5.4 OrderedSet data type operations"
Re: &quot;at&quot; operation with ordered set [message #1015855 is a reply to message #1015678] Sun, 03 March 2013 15:06 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis Wagelaar
Messages: 148
Registered: September 2012
Senior Member

Op 01-03-13 17:36, Fernando Ayata schreef:
> Hi All,
> I try to use the "at" operation with ordered set.
> I have this error
> Operation not found: OrderedSet {ProcessModel!<unnamed>}.at(java.lang.Integer)
>
> but when I add .asSequence() before, it works!!!!
>
> In the ATL manual, I find the "at" operation in "4.1.5.4 OrderedSet data type
> operations"

Looks like a bug to me. In which VM(s) do you have this problem?

Dennis


Cheers,
Dennis
Re: &quot;at&quot; operation with ordered set [message #1015886 is a reply to message #1015855] Mon, 04 March 2013 02:43 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4003
Registered: July 2009
Senior Member
Hi

It might be an accurate adherence to OCL 2.0 where OrderedSet was
underspecified.

Regards

Ed

On 03/03/2013 20:06, Dennis Wagelaar wrote:
> Op 01-03-13 17:36, Fernando Ayata schreef:
>> Hi All,
>> I try to use the "at" operation with ordered set.
>> I have this error
>> Operation not found: OrderedSet {ProcessModel!<unnamed>}.at(java.lang.Integer)
>>
>> but when I add .asSequence() before, it works!!!!
>>
>> In the ATL manual, I find the "at" operation in "4.1.5.4 OrderedSet data type
>> operations"
> Looks like a bug to me. In which VM(s) do you have this problem?
>
> Dennis
Re: &quot;at&quot; operation with ordered set [message #1016245 is a reply to message #1015855] Tue, 05 March 2013 10:55 Go to previous messageGo to next message
Fernando Ayata is currently offline Fernando Ayata
Messages: 12
Registered: February 2013
Junior Member
Hi,
it is EMF Specific VM
Re: &quot;at&quot; operation with ordered set [message #1016251 is a reply to message #1015886] Tue, 05 March 2013 11:09 Go to previous message
Fernando Ayata is currently offline Fernando Ayata
Messages: 12
Registered: February 2013
Junior Member
thank you for reply.
If a understand your reply,
you said that the at operation is not specified for OrderSet type.
that is right?
thanks
Ed Willink wrote on Mon, 04 March 2013 02:43
Hi

It might be an accurate adherence to OCL 2.0 where OrderedSet was
underspecified.

Regards

Ed

On 03/03/2013 20:06, Dennis Wagelaar wrote:
> Op 01-03-13 17:36, Fernando Ayata schreef:
>> Hi All,
>> I try to use the "at" operation with ordered set.
>> I have this error
>> Operation not found: OrderedSet {ProcessModel!<unnamed>}.at(java.lang.Integer)
>>
>> but when I add .asSequence() before, it works!!!!
>>
>> In the ATL manual, I find the "at" operation in "4.1.5.4 OrderedSet data type
>> operations"
> Looks like a bug to me. In which VM(s) do you have this problem?
>
> Dennis

Previous Topic:setValue on reference tag values of stereotyped elements
Next Topic:Different execution: Ant Task and Launch Configuration?
Goto Forum:
  


Current Time: Wed Jul 23 06:00:00 EDT 2014

Powered by FUDForum. Page generated in 0.03029 seconds