interface query [message #39288] |
Thu, 27 September 2007 12:02 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I have an interface.
The interface is provided from a component that has an interface
realization. A port is typed by that component.
Is it possible, from interface, to check which ports provide that
interface, or would i have to do that from the ports themselves?
so is something like this possible:
where self = the relevant interface
self.whoprovidesme
nick
|
|
|
Re: interface query [message #39351 is a reply to message #39288] |
Thu, 27 September 2007 13:55 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Nick,
Try
Port.allInstances()->select(required->includes(self))
HTH,
Christian
nick kirtley wrote:
> Hi,
>
> I have an interface.
> The interface is provided from a component that has an interface
> realization. A port is typed by that component.
>
> Is it possible, from interface, to check which ports provide that
> interface, or would i have to do that from the ports themselves?
>
> so is something like this possible:
> where self = the relevant interface
> self.whoprovidesme
>
> nick
|
|
|
Powered by
FUDForum. Page generated in 0.04210 seconds