Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » ConnectorEnd.definingEnd semantics
ConnectorEnd.definingEnd semantics [message #502168] Sun, 06 December 2009 20:25
Eclipse UserFriend
Originally posted by: florianwendland.freenet.de

Hi all,

i wanted to consider the semantics of the attribute 'definingEnd' in
ConnectorEnd (Section 9.3.7 on page 192 of UML 2.2 spec). The definition
says tha:

"A derived association referencing the corresponding association end on
the association that types the connector
owing this connector end. This association is derived by selecting the
association end at the same place in the ordering of association ends as
this connector end."

Let's put a focal point to the last sentence, that concerns the
deriviation logic:

The 'definingEnd' points to property, defined by an association between
classes. It helps to analyze the navigation direction of connected
ConnectableElements in a CompositeStructure. I've done this in a model,
but my tool, that tried to compute the model throws an error. After some
debug session, i figured out that the definingEnd points to the opposite
property of the association. For a better understanding:

Class Diagram:
A::b [1] --- Association --- B::a [1]

Asssociation::member {b,a}


CompositeStructure
caller::A --- Connector --- callee::B

Connector
ConnectorEnd::role{caller}
/definingEnd{b} //error, should be a
ConnectorEnd::role{callee}
/definingEnd{a} //error, should be b

After changing the order of the connector ends, the errors disappeared,
since the derivation algorithm is based on the ordering of Connector
Ends. What do you think about this behavior?

Marc-Florian
Previous Topic:[Announce] MDT UML2 3.1.0 I200912041330 is available
Next Topic:ConnectorEnd.definingEnd semantics
Goto Forum:
  


Current Time: Fri Apr 26 12:56:15 GMT 2024

Powered by FUDForum. Page generated in 0.02576 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top