Skip to main content


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 16:36 Go to next message
Fernando Ayata is currently offline Fernando AyataFriend
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 20:06 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
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 07:43 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
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 15:55 Go to previous messageGo to next message
Fernando Ayata is currently offline Fernando AyataFriend
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 16:09 Go to previous message
Fernando Ayata is currently offline Fernando AyataFriend
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: Fri Apr 26 08:55:30 GMT 2024

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

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

Back to the top