Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UML2 - wiring provided/required ports

1 view
Skip to first unread message

Matteo Bordin

unread,
Jan 14, 2008, 8:20:07 AM1/14/08
to
Dear all,

in UML2 the same port provides/required all interfaces respectively
implemented/used by the typing classifier: is there a way to model
which specific required interface is satisfied by wiring the port to
another component port?

For example:

Let I1, I2 be two interfaces.

Component C1 has a port requiring {I1, I2};
Component C2 has a port providing {I1, I2};
Component C3 has a port providing {I2};

Now suppose a composite structure has 3 properties typed respectively
to C1, C2, C3: P_C1, P_C2, P_C3.

I want to wire the port of P_C1 to P_C2 to fulfill the requirement of
I1; and to P_C3 to fulfill the requirement of I2. If I just wire the
port of P_C1 to P_C2 I don't know which required interface I am
fulfilling: I1 or I2?

Is there a way to model such semantics in UML (or even SysML) ?

Thanks,

Matteo

0 new messages