Sparx Systems Forum

Discussion => Uml Process => Topic started by: 0xCAFEBABE on November 24, 2014, 02:58:37 am

Title: Adding visible stereotype to Realization
Post by: 0xCAFEBABE 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?
Title: Re: Adding visible stereotype to Realization
Post by: qwerty 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.
Title: Re: Adding visible stereotype to Realization
Post by: Simon M 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.
Title: Re: Adding visible stereotype to Realization
Post by: qwerty 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.
Title: Re: Adding visible stereotype to Realization
Post by: DBRN 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.
Title: Re: Adding visible stereotype to Realization
Post by: qwerty 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.
Title: Re: Adding visible stereotype to Realization
Post by: DBRN 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.
Title: Re: Adding visible stereotype to Realization
Post by: qwerty on December 12, 2014, 11:40:47 pm
Which version do you use?

q.
Title: Re: Adding visible stereotype to Realization
Post by: DBRN 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
Title: Re: Adding visible stereotype to Realization
Post by: qwerty 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.