Book a Demo

Author Topic: Delegate notation wrong  (Read 4208 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Delegate notation wrong
« on: May 09, 2019, 06:00:26 am »
UML 2.5 uses a straight line (no arrow, no keyword) for delegation connectors. This has changed since 2.1.1

reported (the first since years; eager to see what happens)

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Delegate notation wrong
« Reply #1 on: May 09, 2019, 09:52:22 am »
The specification clearly allows two different notational variants, including the ball and socket version. (See Figure 11.47 as an example)

As a matter of fact, there is no separate delegate connector. Effectively, the EA delegate connector is specifically for that notational variant. If you want the plain, straight line version just use the 'Connector'.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Delegate notation wrong
« Reply #2 on: May 09, 2019, 02:56:59 pm »
My copy of formal/2015-03-01 on p. 212 in Fig. 11.47 uses just straight lines.

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Delegate notation wrong
« Reply #3 on: May 09, 2019, 06:05:01 pm »
Further I recommend a look into chapter 11.8.12 ConnectorKind which lists assembly/delegation as alternative representation of a connector. EA can't do.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Delegate notation wrong
« Reply #4 on: May 10, 2019, 11:02:38 am »
Further, I recommend a look into chapter 11.8.12 ConnectorKind which lists assembly/delegation as an alternative representation of a connector. EA can't do.

q.
Taking a look at formal\17-12-05 in the sections referenced by qwerty seems, to me, to support his case.  Although you have to look carefully at 11.47 to see:

The assembly Connectors use ball-and-socket notation. The delegation connectors use the notational option that the Connector line can end on the ball or socket, rather than the simple port itself.

(My emphasis).  My reading of the specification is that delegation is a simple line.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Delegate notation wrong
« Reply #5 on: May 10, 2019, 12:13:21 pm »
Assembly and Delegation are the only two values of ConnectorKind, so if a UML::Connector* is not an assembly, it's a delegation. Use UML::Connector


*always gets confusing that the word "connector" is overloaded. I mean the relationship/link/connector labelled "Connector" in the Composite Relationships toolbox.
The Sparx Team
[email protected]