Author Topic: Adding visible stereotype to Realization  (Read 1003 times)

0xCAFEBABE

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Adding visible stereotype to Realization
« on: November 24, 2014, 02:58:37 am »
Hello. In a component diagram, can't I add a visible Stereotype to a Realization from a (Packaging)Component to another Component?

I want to make it visible what exactly gets implemented by another Component.

Do I really have to use a different relationship than a Realization? Would an "Assembly" be most fitting as the replacement in this case?
« Last Edit: November 24, 2014, 03:01:18 am by 0xCAFEBABE »

qwerty

  • EA Guru
  • *****
  • Posts: 8960
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #1 on: November 24, 2014, 04:42:31 am »
I just create a Realize from a packaging component to a component (though that does not seem to be UML compliant) and added a stereotype which was showing with no issue.

q.

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6193
  • Karma: +47/-5
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #2 on: November 24, 2014, 12:37:52 pm »
Seems valid to me. UML has a dedicated type ComponentRealization for this scenario. EA only provides a single realization connector and works out the difference when exporting to XMI.
Simon

support@sparxsystems.com

qwerty

  • EA Guru
  • *****
  • Posts: 8960
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #3 on: November 24, 2014, 04:46:00 pm »
My above assumption was only based on he fact that EA does not offer such a relation as per default from the QL. I have not cross checked with Superstructures. However, it is independent of the OP's basic issue.

q.

DBRN

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #4 on: December 12, 2014, 09:56:48 pm »
Hi. What about realizations of other UML-elements, i.e. classes or packages?

I can make a Dependency, an Association, a Generalization and they all show a <<stereotype>>, just not Realization? Can I enable it somewhere? I cannot confirm what qwerty says; I see nothing under the arrow of any created Realization with specified stereotype.
« Last Edit: December 12, 2014, 10:01:00 pm by cafebabe »

qwerty

  • EA Guru
  • *****
  • Posts: 8960
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #5 on: December 12, 2014, 11:10:23 pm »
Quote
I see nothing under the arrow of any created Realization with specified stereotype.
Check the diagram properties/Connectors/last checkbox.

q.

DBRN

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #6 on: December 12, 2014, 11:26:25 pm »
Quote
Quote
I see nothing under the arrow of any created Realization with specified stereotype.
Check the diagram properties/Connectors/last checkbox.

q.
It is checked. I can see all the other stereotypes in the diagram; for dependency, association, generalization. Just not for realization.

qwerty

  • EA Guru
  • *****
  • Posts: 8960
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #7 on: December 12, 2014, 11:40:47 pm »
Which version do you use?

q.

DBRN

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #8 on: December 13, 2014, 12:09:40 am »
Quote
Which version do you use?

q.
Program version 10.0.1005
Database version 4.01
Registered EA Corporate Edition

qwerty

  • EA Guru
  • *****
  • Posts: 8960
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Adding visible stereotype to Realization
« Reply #9 on: December 13, 2014, 03:35:18 am »
So there's the reason. V10 does not show it. V9.3 and V11 do. Time for up- or downgrade ::)

q.
« Last Edit: December 13, 2014, 03:35:34 am by qwerty »