|
Re: Model copy [message #1858510 is a reply to message #1858507] |
Wed, 05 April 2023 13:49 |
|
If the new metamodel is a variant (e.g. evolved version) of the old one, Flock could be a better fit as it would save you all the property copying code that you'd need to manually specify in ETL. One limitation of Flock worth considering - in case it applies to your use case - is that it doesn't work with models that span across different XMI files.
Thanks,
Dimitris
|
|
|
|
|
Re: Model copy [message #1858586 is a reply to message #1858584] |
Mon, 10 April 2023 13:27 |
|
Great. For anyone else who may bump into this, calling setOriginalModel/setMigratedModel should do the trick
// Configure the original and migrated models of the migration transformation
module.getContext().setOriginalModel(source);
module.getContext().setMigratedModel(target);
Thanks,
Dimitris
|
|
|
Powered by
FUDForum. Page generated in 0.04411 seconds