Book a Demo

Author Topic: Insert Related Elements: Include association class  (Read 7523 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Insert Related Elements: Include association class
« on: October 27, 2015, 11:35:28 pm »
Hi all,


When using Insert Related Elements, association classes are excluded. The association connector and the element at the other end are included just fine, but the association class doesn't appear.

There should be a checkbox "Include association classes" to control this. Plenty of space between the Clear and Refresh buttons.

In addition to being included in the diagram when the appropriate associations are selected, association classes can themselves have connectors, so they should be included in the search for related elements if the box is ticked.

Cheers,


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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Insert Related Elements: Include association c
« Reply #1 on: October 27, 2015, 11:36:45 pm »
+1

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Insert Related Elements: Include association c
« Reply #2 on: October 28, 2015, 06:54:17 pm »
+1

And Nested Items also- by definition they are related
as are Classifiers
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: Insert Related Elements: Include association c
« Reply #3 on: October 29, 2015, 09:17:34 am »
Quote
There should be a checkbox "Include association classes" to control this.
Not sure I agree. I would like to see Association Class show up as a connector type instead of just listing as Association. Even if that wasn't done, I think it would be best to just always add the class when the association is added.

Quote
And Nested Items also- by definition they are related as are Classifiers
The function is intentionally restricted to relationships that create a visible link. (ie. It's not that we didn't think about other relationship types)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Insert Related Elements: Include association c
« Reply #4 on: October 29, 2015, 10:51:07 am »
Quote
[size=14][SNIP][/size]

The function is intentionally restricted to relationships that create a visible link. (ie. It's not that we didn't think about other relationship types)
Then the function should be called Insert Visibly Related ElementS  ;)
I have no problem with the restriction, if the function describes it...

Then again, we've revisited "Animal Farm":  All relationships are equal, but some are more equal than others...   ;D

We've decided to materialized all relationships, so when you "Insert Related Elements, you get ALL related elements.

Paolo
« Last Edit: October 29, 2015, 10:53:13 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Insert Related Elements: Include association c
« Reply #5 on: October 29, 2015, 06:54:26 pm »
Quote
Quote
There should be a checkbox "Include association classes" to control this.
Not sure I agree. I would like to see Association Class show up as a connector type instead of just listing as Association.
That would be even better. Good one! :)
Quote
Even if that wasn't done, I think it would be best to just always add the class when the association is added.
Fine by me, although perhaps some users would object. Listing Association Class separately is better, I think.
I've checked, and Association Classes show up properly (that is, not as Associations) in the element properties dialog, so it would be consistent with that too.

Quote
Quote
And Nested Items also- by definition they are related as are Classifiers
The function is intentionally restricted to relationships that create a visible link. (ie. It's not that we didn't think about other relationship types)
I agree. Perhaps rename it "Insert Connected Elements" or something, unless that's a lot of work, but keep the function as is.


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

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Insert Related Elements: Include association c
« Reply #6 on: October 29, 2015, 06:56:01 pm »
Quote
I agree. Perhaps rename it "Insert Connected Elements" or something, unless that's a lot of work, but keep the function as is.
... which Paolo already suggested. Sorry, Paolo.

Who's for coffee? MEEEEEE!

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

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Insert Related Elements: Include association c
« Reply #7 on: October 30, 2015, 07:56:03 am »
+1