Zurück zu Willert.de

Understanding XMI 2.1 export

Your questions about Eclipse Integration, CORBA, VBA, ConfigManagement Simulink but also Profiles like SysML, Autosar etc.

Understanding XMI 2.1 export

Postby scottca » July 28th, 2008, 4:47 pm

I am reading in a XMI 2.1 file that has been generated from a UML diagram in Rhapsody. I am trying to identify the Actors of use cases. For an actor this is what I see:

Code: Select all
packagedElement
    xmi:type="uml:Class"
    xmi:id="_Wr5HWVwZEd2XI4o2uQ0H5Q"
    name="potential passenger"
    ownedAttribute
        xmi:type="uml:Property"
        xmi:id="_Wr5HWlwZEd2XI4o2uQ0H5Q"
        name="itsEnter elevator"
        type="_Wr5HcVwZEd2XI4o2uQ0H5Q"
        association="_Wr5HplwZEd2XI4o2uQ0H5Q"
        xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
        upperValue
            xmi:type="uml:LiteralUnlimitedNatural"
            xmi:id="_Wr5HW1wZEd2XI4o2uQ0H5Q"
            value="1"
        lowerValue
            xmi:type="uml:LiteralInteger"
            xmi:id="_Wr5HXFwZEd2XI4o2uQ0H5Q"
            value="1"


I do not see anything that identifies this element as an actor in a use case. Should there be some sort of reference to a stereotype that that marks this element as an "Actor". How do I know that this class represents an actor?

Also, the same question regarding the use case? How do I know that the actor's association is a use case.

Any help here would be appreciated.

PS - Any pointers to understanding the basics of XMI would also be helpful. I am mostly interested in learning how UML is represented in XMI.

Scott
scottca
 
Posts: 1
Joined: July 28th, 2008, 4:38 pm

Return to Interface Pack

Who is online

Users browsing this forum: No registered users and 2 guests

cron