Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » XMI question wrt Association
XMI question wrt Association [message #623908] Thu, 19 July 2007 15:32
Eclipse UserFriend
Originally posted by: user.domain.invalid

Dear All,

I am doing an XSLT which uses the EMFT compare tool to create an XHTML
report on the differences between 2 models.

The only minor problem I am having is to see how in UML2/EMF XMI
Associations work.

Basically all I want to say is "the Association linking X with Y has
been deleted" or "An association between X and Y has been created".

Do Associations always link OwnedAttributes?

I am using the output form IBM RSA 6 & there appears to be some
variability e.g.

<packagedElement xmi:type="uml:Association"
xmi:id="_3iuUKg3aEdy0fvloa5NWrg" memberEnd="_3iuQcw3aEdy0fvloa5NWrg
<ownedEnd xmi:id="_3iuULA3aEdy0fvloa5NWrg"
type="_3iuQTQ3aEdy0fvloa5NWrg" association="_3iuUKg3aEdy0fvloa5NWrg">
<upperValue xmi:type="uml:LiteralUnlimitedNatural"
xmi:id="_3iuULQ3aEdy0fvloa5NWrg" value="1"/>
<lowerValue xmi:type="uml:LiteralInteger"
xmi:id="_3iuULg3aEdy0fvloa5NWrg" value="1"/>

<packagedElement xmi:type="uml:Association"
xmi:id="_3iuULw3aEdy0fvloa5NWrg" memberEnd="_3iuSFQ3aEdy0fvloa5NWrg
<ownedEnd xmi:id="_3iuUMA3aEdy0fvloa5NWrg" name="person"
visibility="private" type="_3iuSEA3aEdy0fvloa5NWrg"

So what ID'es do I use in the above examples to find the 2
OwnedAssociations at each end ?


Previous Topic:How to check two models against each other
Next Topic:XMI question wrt Association
Goto Forum:

Current Time: Thu Apr 09 08:44:13 GMT 2020

Powered by FUDForum. Page generated in 0.02467 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top