Book a Demo

Author Topic: Can´t show derived union associations  (Read 6251 times)

alex_arch

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Can´t show derived union associations
« on: August 05, 2008, 11:41:52 pm »
I can´t find a way to show the notation for an association end marked as 'derived union'. Neither the property string {union} and the slash "\" (used to mark a association end as derived) in front of the role name are shown.
However, the 'slash' notation for derived classes attributes are shown properly.
Is there any trick to show the notation for derived association ends?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Can´t show derived union associations
« Reply #1 on: August 06, 2008, 03:19:32 am »
Several tricks, and some limitations as well. Search the forum for details.

I know that's not the answer you want, but it is the correct one. There are several threads on the subject, some quite recent. They will give you an excellent overview of the situation, a lot of information about what you can and cannot do, and specific instructions for going about things. These last items include workarounds and compromises you can use to work beyond the limits of the EA paradigm for handling features that represent roles.

HTH, David
No, you can't have it!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Can´t show derived union associations
« Reply #2 on: August 06, 2008, 10:10:54 am »
The derived '/' and the '{union}' constraint should show by default. If they aren't visible, right-click the association and use the "Visibility > Set Label Visibility" command. As David hinted, there are a number of reasons why that might not work, but one bridge at a time... :)
The Sparx Team
[email protected]

alex_arch

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Can´t show derived union associations
« Reply #3 on: August 06, 2008, 10:32:29 pm »
i've already tried 'Visibility > Set Label Visibility'. The '{union}' are not shown there (all checkboxes are checked indeed).
Note that the role name of the end are displayed in the diagram (without the slash "/").

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Can´t show derived union associations
« Reply #4 on: August 06, 2008, 10:40:31 pm »
Try opening the diagram properties dialog (F5) and clicking the Features tab. Ensure that you have checked the Show Qualifiers and Visibility Indicators option.

This is in the help file, but you really need to know where to look.

David
No, you can't have it!

alex_arch

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Can´t show derived union associations
« Reply #5 on: August 06, 2008, 11:09:31 pm »
The configured options  below don´t solve the problem:

Options already marked on "Features" Tab of diagram properties (relevant ones):
- Show visibility indicators

Options UNmarked on "Tools>Options>Links" menu (relevant ones):

- Supress Link Constraints
- Supress Qualifier Boxes (although i don´t know why this could help)




«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Can´t show derived union associations
« Reply #6 on: August 07, 2008, 06:15:24 am »
What version and build of EA are you using? My options read as I described, but yours seem to be different.
No, you can't have it!

alex_arch

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Can´t show derived union associations
« Reply #7 on: August 07, 2008, 06:25:10 am »
I´m using version v7.0.813 ...

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Can´t show derived union associations
« Reply #8 on: August 07, 2008, 08:54:31 am »
Is it a UML Association, and not a (for example) BPMN Association? (To check, right-click the connector and select Association Properties and check the Stereotype field is empty)
The Sparx Team
[email protected]

alex_arch

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Can´t show derived union associations
« Reply #9 on: August 07, 2008, 10:15:05 pm »
It´s a simple UML association (Association metaclass) between classes, and it´s not stereotyped.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Can´t show derived union associations
« Reply #10 on: August 08, 2008, 08:54:29 am »
OK, I've just tried with 7.0.813 and you need to reload the diagram (reloading the project or restarting EA will also work) to get the '/' and '{union}' to show. The latest version, 7.1.831, refreshes the diagram correctly.
The Sparx Team
[email protected]

alex_arch

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Can´t show derived union associations
« Reply #11 on: August 08, 2008, 10:26:21 pm »
It works this way KP. Thanks for your help guys.
We will upgrade to a latest build as soon as we can.