Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Synch Two models
Synch Two models [message #423978] Mon, 13 October 2008 04:07 Go to next message
Imran AR is currently offline Imran ARFriend
Messages: 6
Registered: July 2009
Junior Member
Hello Team,

I have one very intresting Q for all the model Expert. I have two model,
model A which is really big and model B which is pretty small. To the user
, I always show model B , which is pretty easy to understand. Now in the
tool I always have to do a mapping from A to B when user loads the data
and mapping from B to A when he serializes the data.


Now the challenge is , synch B and A. I have a some java lists which will
keep track of what happend for B, and i am using this list when user
serializes it.

do we have better method to synch two models ?

FYI -> this model elements are totaly diff in name.


Thank you
Re: Synch Two models [message #423988 is a reply to message #423978] Mon, 13 October 2008 15:58 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
A ChangeRecorder could be used to build a ChangeDescription which is a
detailed delta representation of all the changes...


glamakid wrote:
> Hello Team,
>
> I have one very intresting Q for all the model Expert. I have two
> model, model A which is really big and model B which is pretty small.
> To the user , I always show model B , which is pretty easy to
> understand. Now in the tool I always have to do a mapping from A to B
> when user loads the data and mapping from B to A when he serializes
> the data.
>
>
> Now the challenge is , synch B and A. I have a some java lists which
> will keep track of what happend for B, and i am using this list when
> user serializes it.
>
> do we have better method to synch two models ?
> FYI -> this model elements are totaly diff in name.
>
> Thank you


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to create an EString to set as EType for an EAttribute
Next Topic:[EMF] model instance exporting
Goto Forum:
  


Current Time: Thu Apr 18 02:25:38 GMT 2024

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

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

Back to the top