[Uml-devel] [Bug 53381] No stereotype on operations

Oliver Kellogg okellogg at users.sourceforge.net
Tue Jul 27 21:46:10 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=53381      




------- Additional Comments From okellogg users sourceforge net  2004-07-28 06:45 -------
Oops, I need to correct myself.
The XMI standard calls for the <UML:Stereotype> element.
The stereotype attribute given at other elements is only a
reference to the xmi.id of the UML:Stereotype.
For an example, see http://www.jdev.de/html/projects/uml2daml/mapping/uml2daml_mapping.html :

    <UML:Model xmi.id = 'S.1' name = 'Project' visibility = 'public'>
     <UML:Namespace.ownedElement>
      <UML:Package xmi.id = 'S.3'
            name = 'PackeWithEmptyClass' visibility = 'package' isSpecification = 'false'
            isAbstract = 'false'>
       <UML:Namespace.ownedElement>
        <UML:Class xmi.id = 'S.8'
              name = 'EmptyClass' visibility = 'public' isSpecification = 'false'
              isAbstract = 'false' isActive = 'false' stereotype = 'XX.1'>
        </UML:Class>
       </UML:Namespace.ownedElement>
      </UML:Package>
      <!--==================== DAMLClass [Stereotype] ====================-->
      <UML:Stereotype xmi.id = 'XX.1'
            name = 'DAMLClass' visibility = 'public' isSpecification = 'false' icon = ''>
       <UML:Stereotype.baseClass>
                Class
       </UML:Stereotype.baseClass>
      </UML:Stereotype>
     </UML:Namespace.ownedElement>
    </UML:Model>




More information about the umbrello-devel mailing list