Book a Demo

Author Topic: Name followed by Alias  (Read 5933 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Name followed by Alias
« on: June 16, 2022, 02:33:31 am »
I think I know the answer but I'll better double check. Other than using an MDG, is there a way to display diagram the Element Name followed by the Alias enclosed in parenthesis, either next to it or preferably in separate line?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Name followed by Alias
« Reply #1 on: June 16, 2022, 10:09:22 am »
There is an option: ribbon > Start > Preferences > Behavior > Alias usage > Alias and Name
The Sparx Team
[email protected]

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Name followed by Alias
« Reply #2 on: June 16, 2022, 06:43:13 pm »
Thank you KP, I had to re-read the instructions a couple of times to get this working.

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: Name followed by Alias
« Reply #3 on: June 16, 2022, 11:49:51 pm »
Hi.

You might also have to set the Diagram option 'Use Alias if available' to true on the diagrams where the elements are used to get it to work.

Henrik

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Name followed by Alias
« Reply #4 on: June 17, 2022, 02:11:34 am »
Thanks Henrik, this only works if the Diagram option 'Use Alias if available' is set to true. Otherwise, it does nothing. This is what I was referring to when I said I had to read the instructions twice.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Name followed by Alias
« Reply #5 on: June 24, 2022, 06:41:44 pm »
In version 15, enabling this applies to both elements and connector aliases, including the aliases at both ends of the connectors. Showing the aliases at both ends of the connectors enclosed in parenthesis does not sound right, by definition connector ends don't have names.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Name followed by Alias
« Reply #6 on: June 24, 2022, 07:58:19 pm »
In version 15, enabling this applies to both elements and connector aliases, including the aliases at both ends of the connectors. Showing the aliases at both ends of the connectors enclosed in parenthesis does not sound right, by definition connector ends don't have names.
Hi Modesto,
Can you elaborate on why you believe this to be the case?

I am reminded that "a named association end IS an attribute" (from early UML), thus connector ends can have names (at least some).

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

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Name followed by Alias
« Reply #7 on: June 25, 2022, 01:29:37 am »
Hi Paolo,

I find it confusing. I am used to seeing this

or


I am not used to seeing (author) and (textbook) or (qbuilder) and (query). It does not feel natural.

P.S.: I am wondering if the connector end aliases are actually the connector end names.
« Last Edit: June 25, 2022, 02:21:04 am by Modesto Vega »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Name followed by Alias
« Reply #8 on: October 17, 2022, 03:47:33 pm »
Hi Paolo,

I find it confusing. I am used to seeing this

or


I am not used to seeing (author) and (textbook) or (qbuilder) and (query). It does not feel natural.

P.S.: I am wondering if the connector end aliases are actually the connector end names.
Hi Modesto,
Sorry for the delay; the message must have gotten lost in the "bit bucket".  It came up when I went looking for "Replies to my Posts"
The parentheses are Sparx's rendering of the Alias, I believe.  Since UML doesn't have Aliases...

Anyway, I'm used to the same rendering as you.
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!