Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Meaning of AddReferenceValue in EMF Compare
Meaning of AddReferenceValue in EMF Compare [message #615359] Thu, 31 January 2008 19:40
Renata Roginsky is currently offline Renata RoginskyFriend
Messages: 10
Registered: July 2009
Junior Member
I take one model (which has dependencies on some other model), create a
copy of it and in the copied model change a couple of object names. Then I
run compare. My resulting Diff Model contains AttributeChange elements for
changes, as expected, but in addition to that it has a LOT of
“AddRefernceValue” and “RemoveReferenceValue” element pairs, that make no
sense to me. Here is an example:
<subDiffElements xsi:type="diff:AddReferenceValue">
<reference
href="http://www.eclipse.org/uml2/2.0.0/UML#//Dependency/supplier"/>
<rightElement
href=" platform:/resource/msgmodel.test/MessageModelV1.emx#_amT65ZO iEdyH-dJfEVLHtA "/>
<leftElement
href=" platform:/resource/msgmodel.test/MessageModel.emx#_amT65ZOiE dyH-dJfEVLHtA "/>
<rightAddedTarget
href=" platform:/resource/com.bglobal.infoarch.version.poc.domain/I nstrument.efx#_szPCqPTFEduthoHhllhVCQ?POCDomain%20Model/Inst rument/Instrument%20Transfer%20Type? "/>
</subDiffElements>
<subDiffElements xsi:type="diff:RemoveReferenceValue">
<reference
href="http://www.eclipse.org/uml2/2.0.0/UML#//Dependency/supplier"/>
<rightElement
href=" platform:/resource/msgmodel.test/MessageModelV1.emx#_amT65ZO iEdyH-dJfEVLHtA "/>
<leftElement
href=" platform:/resource/msgmodel.test/MessageModel.emx#_amT65ZOiE dyH-dJfEVLHtA "/>
<leftRemovedTarget
href=" platform:/resource/com.bglobal.infoarch.version.poc.domain/I nstrument.efx#_szPCqPTFEduthoHhllhVCQ?POCDomain%20Model/Inst rument/Instrument%20Transfer%20Type? "/>
</subDiffElements>

The “Target” here comes from the model upon which my two models depend.
What does it mean?
Previous Topic:Matching in EMF Compare
Next Topic:[Announce] EMFT SEARCH 0.7.0 I200801311807 is available
Goto Forum:
  


Current Time: Thu Sep 24 05:42:29 GMT 2020

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

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

Back to the top