[umbrello] [Bug 73847] support for UML tagged values

Oliver Kellogg bugzilla_noreply at kde.org
Mon Sep 21 07:24:35 BST 2020


--- Comment #21 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to Oliver Kellogg from comment #20)
> [...]
> 2) Stereotype application
> <UML:Class [...] name="MyClass">
>   <UML:StereoApp [...] type="theStereoID">
>     <foo value="fidget widget"/>
>     <bar value="12345.67"/>
>   </UML:StereoApp>
> </UML:Class>

There is no need for inventing a new tag here ("StereoApp").
Instead we can use the UML 1.3 TaggedValue extended by an attribute
where "xmiid_of_the_stereotype_def" is the xmi.id of the <UML:Stereotype>

Here the corrected stereotype application example:

<UML:Class [...] name="MyClass">
    <UML:TaggedValue xmi.id="X.30" stereotype="theStereoID" tag="foo"
value="fidget widget"/>
    <UML:TaggedValue xmi.id="X.31" stereotype="theStereoID" tag="bar"

You are receiving this mail because:
You are the assignee for the bug.

More information about the umbrello-devel mailing list