Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » extract element of sequence
extract element of sequence [message #535416] Sun, 23 May 2010 06:44 Go to next message
Eclipse UserFriend
hi ,
how can I extract element of sequence
b=Sequence {IN2!G1:uml!AbstractGoal,IN2!G2:uml!AbstractGoal,IN2!G3:uml! AbstractGoal}
thanks
Re: extract element of sequence [message #535443 is a reply to message #535416] Sun, 23 May 2010 12:12 Go to previous messageGo to next message
Eclipse UserFriend
You can use the function "one()" or "any()"

[Updated on: Sun, 23 May 2010 12:12] by Moderator

Re: extract element of sequence [message #535463 is a reply to message #535443] Sun, 23 May 2010 15:35 Go to previous messageGo to next message
Eclipse UserFriend
thanks ,
but how can use this function?
Re: extract element of sequence [message #535662 is a reply to message #535416] Tue, 25 May 2010 04:15 Go to previous messageGo to next message
Eclipse UserFriend
b->at(x)
Re: extract element of sequence [message #535770 is a reply to message #535662] Tue, 25 May 2010 10:39 Go to previous messageGo to next message
Eclipse UserFriend
what is x?
Re: extract element of sequence [message #535775 is a reply to message #535416] Tue, 25 May 2010 10:56 Go to previous message
Eclipse UserFriend
The index in the sequence of the element you want to obtain. The ATL User Guide contains everything you need, have a read !
Previous Topic:[ATL] Reference to input model in output model
Next Topic:[ATL] I do not understand rule inheritance
Goto Forum:
  


Current Time: Sun Jun 15 06:01:19 EDT 2025

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

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

Back to the top