Connector in class internal structure [message #603221] |
Tue, 27 March 2007 13:10 |
Lutz Wrage Messages: 181 Registered: July 2009 |
Senior Member |
|
|
I want to model the following. A class C has two parts a and b with a
connector that links them. Reading section 9 of the UML2 spec lets me to
believe that this can be done regardless of the types of a and b because
it's equivalent to the example given in figure 9.20.
However, validation indicates an error: "Assembly connector
'<Connector>' must only be defined from a role end requiring an
interface to a role end providing that interface."
Where does this come from???
Reading further I found that there's a strange constraint in section
8.3.2: "An assembly connector must only be defined from a required
Interface or Ports to a provided Interface or Port." Maybe the
validation error is related to this constraint? As written this
constraint makes no sense at all because connectors don't connect
interfaces. Should this constraint even apply to parts?
Thanks,
Lutz
|
|
|
Powered by
FUDForum. Page generated in 0.02888 seconds