Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to aggregate a sequence of strings in AQL?
How to aggregate a sequence of strings in AQL? [message #1832557] Mon, 21 September 2020 08:00 Go to next message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 344
Registered: August 2013
Senior Member
Hi

For example I need to convert the following sequence into a single string: aql:Sequence{'He', 'llo', ' ', 'world'}

Is the an analogue of OCL's iterate() operation in AQL?

It it posible to write a custom Java service taking a collection as a first argument instead of EObject's sub-type?

[Updated on: Mon, 21 September 2020 08:03]

Report message to a moderator

Re: How to aggregate a sequence of strings in AQL? [message #1832569 is a reply to message #1832557] Mon, 21 September 2020 08:52 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 300
Registered: July 2009
Senior Member
Hi,
Maybe something like Quote:
aql:Sequence{'He', 'llo', ' ', 'world'}->toString()

Regards,
Laurent


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: How to aggregate a sequence of strings in AQL? [message #1832572 is a reply to message #1832569] Mon, 21 September 2020 09:03 Go to previous message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 344
Registered: August 2013
Senior Member
Thanks!

I didn't even thought that it will be so simple.
Previous Topic:Rotate text in pivot table header by 90 degrees
Next Topic:Unable to edit multiline AQL expression
Goto Forum:
  


Current Time: Wed Apr 24 17:18:37 GMT 2024

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

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

Back to the top