|
|
|
|
Re: Select a Component from bag [message #765746 is a reply to message #765727] |
Wed, 14 December 2011 10:49  |
Eclipse User |
|
|
|
Hi
I still don't understand, but perhaps type conversions such as
oclAsBag(), oclAsSet() or any(true) might help.
Regards
Ed Willink
On 14/12/2011 07:32, Ahsan wrote:
> Hello Ed
>
> thanks for the reply I appreciate that. I am using qvto for the
> transformations. I understood that select returns a set(bag) of elements.
> for example for a transformation like
> IN:= class1.port -> select ( port whose direction is IN)
> the error is that IN is a component of type XYZ however I am trying to
> assign a bag to it. This is what my problem is.
>
> I hope i was able to explain it better this time.
>
> Regards
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08780 seconds