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