Book a Demo

Author Topic: Difference between Association and Use case connectors in use case model  (Read 8643 times)

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
EA 13.1 I see both listed as association types between use case and actors.  It's impacting my relationship matrices as I can filter the matrix by one or the other but not both.  Does anyone know what is the difference between the two connector types in EA?  Use case association does not even appear in the toolbox (unless it's the "Use" relationship... but I thought that that is the old UML 1.1 "Uses" association?   Any easy way to convert use case association into regular association?  Thanks!
« Last Edit: January 11, 2021, 07:44:22 pm by Richard Freggi »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Difference between Association and Use case connectors in use case model
« Reply #1 on: January 11, 2021, 07:54:36 pm »
All I can say is that the one is a plain association. The Use has connector_type = UseCase. I can't recall this being a legal UML connector, at least I could not find a definition on the fly. You can (I think) only change them by scripting and altering EAConnector.Type.

q.

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: Difference between Association and Use case connectors in use case model
« Reply #2 on: January 12, 2021, 01:21:40 pm »
Thanks qwerty that makes sense.  Note to Sparxians, maybe consider removing the "Use case" association from future versions if it's not UML compliant?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Difference between Association and Use case connectors in use case model
« Reply #3 on: January 12, 2021, 04:39:04 pm »
Thanks, qwerty that makes sense.  Note to Sparxians, maybe consider removing the "Use case" association from future versions if it's not UML compliant?
As you should know Richard, you need a formal request via the links below to even have a HOPE of getting a change.

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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Difference between Association and Use case connectors in use case model
« Reply #4 on: January 13, 2021, 08:16:04 am »
Thanks qwerty that makes sense.  Note to Sparxians, maybe consider removing the "Use case" association from future versions if it's not UML compliant?
If only it was that simple.

Anything that changes it to always create Association results in complaints from people who already have the other relationship type in their model. EA is now no longer allowing (or even making it harder for) them to maintain consistency, use some existing API client or direct database access. Even migrating everything reliably complaints. Very often it seems like the only option left is to leave two things in so that every user can choose to do it the old way. Which is probably why there are things still from UML 1.x available in EA.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Difference between Association and Use case connectors in use case model
« Reply #5 on: January 13, 2021, 09:31:42 am »
Somehow it's like the Microsoft and the Apple way. While the first still run on the shoulders of DOS, the latter have more than once consequently deprecated things. That was always painful but people knew that having done the step it would be easier for them afterwards. Did not work always but saved them from carrying the mess from the past like Microsoft. Now guess in which category falls Sparx!

q.