Book a Demo

Author Topic: 'Link' Connector type - did I imagine it ?  (Read 5110 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
'Link' Connector type - did I imagine it ?
« on: April 16, 2018, 11:10:58 pm »
I'm (fairly) sure that there used to be a Connector Type of 'link', which UML says (or at least, used to say) we're supposed to use to connect Instances with each other.
The element/element relationship connector type defines what the instance/instance connection means, but I thought that the instance/instance connector itself was just a 'link'.
Did I imagine this?
It seems that in V14 (and I think 13 as well) I seem to have to lost the ability to create a simple link.
@Sparx - was this deliberate? Maybe a new corner of UML which I missed? Or maybe it got lost?
And, if I just add 'link' to t_conectorTypes, is that allowed? Feels like a big step, inventing new Connector Types, which might have bad consequences.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: 'Link' Connector type - did I imagine it ?
« Reply #1 on: April 17, 2018, 12:12:46 am »
Hi Ian,

There are Links, and you can connect two Objects with one, in 13.5.

/Uffe
My theories are always correct, just apply them to the right reality.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: 'Link' Connector type - did I imagine it ?
« Reply #2 on: April 17, 2018, 09:54:04 am »
Hi Ian,

IIRC, Links are instances of Associations.  As you say, they are used to link a specific instance (of a classifier) to another specific instance (of another, possibly the same, classifier).

I guess you could also use stereotyped versions to handle aggregation and composition links.

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: 'Link' Connector type - did I imagine it ?
« Reply #3 on: May 07, 2018, 11:02:47 am »
I think it's always been the case that a Link is represented internally in EA as Connector_Type='Association'. If the two ends are instances then by duck typing it's an Association instance (aka Link).
The Sparx Team
[email protected]

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: 'Link' Connector type - did I imagine it ?
« Reply #4 on: May 08, 2018, 06:22:53 pm »
Thanks @KP  - good to know how to (probably) make things backwards compatible. Could we have a note somewhere in the final V14 documentation to say that this has changed?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: 'Link' Connector type - did I imagine it ?
« Reply #5 on: May 09, 2018, 08:33:51 am »
Thanks @KP  - good to know how to (probably) make things backwards compatible. Could we have a note somewhere in the final V14 documentation to say that this has changed?

Nothing has changed. Except possibly the labels in the quicklinker (used to say "Link" or "Directed Link", now says "Association", but they're all Associations).
The Sparx Team
[email protected]