Tool support for the generation of the instance model of an Ecore model [message #1738000] |
Thu, 14 July 2016 19:34 |
Chung-Ling Lin Messages: 39 Registered: December 2011 |
Member |
|
|
Hi,
I am working on a project that need to use the eclipse OCL to validate the constraints defined in an Ecore model and use ATL to do the model transformation between two Ecore models. Both of them requires the instance model (the .xmi file) of an Ecore model as part of its input.
Right now I am using the "Create Dynamic Instance" feature to create the instance model of an Ecore model. But since my instance model contains a lot of objects, it is not convenient for me to add/modify the objects in the instance model via the sample reflective ecore model editor. And the modification of the ecore model may make the instance model not readable in the reflective ecore model editor. (e.g. change the multiplicity of an association from 1 to many in the ecore model).
Therefore, I would like to know is there any tool or plugin in eclipse that I can use to edit and review the instance model of an ecore model more efficiently and allows me to save the instance model as an xmi file?
Thank you for your help.
Best Regards,
Chung-Ling Lin
[Updated on: Thu, 14 July 2016 19:35] Report message to a moderator
|
|
|
|
|
|
Re: Tool support for the generation of the instance model of an Ecore model [message #1738147 is a reply to message #1738000] |
Sat, 16 July 2016 08:41 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi<br>
<br>
I presume you are writing your own random model generator.<br>
<br>
If your goal is to provide modest sized models that stress the
constraints, I strongly recommend reading the literature.<br>
<br>
<div data-canvas-width="328.74266666666665" style="left:
140.787px; top: 378.333px; font-size: 13.3333px; font-family:
sans-serif; transform: scaleX(0.972611);">Saheed Popoola,
Dimitrios Kolovos and Horacio Rodriguez</div>
<div data-canvas-width="455.5133333333334" style="left: 140.787px;
top: 394.333px; font-size: 13.3333px; font-family: sans-serif;
transform: scaleX(0.954955);">EMG: A Domain-Specific
Transformation Language for Synthetic Model Generation</div>
<br>
was presented at ICMT last week and no doubt has a good related
work referring to many others. You can create custom graphical
editors moderately rapidly with Sirius.<br>
<br>
If you visit <a class="moz-txt-link-freetext" href="http://is.ieis.tue.nl/research/ICMT16/">http://is.ieis.tue.nl/research/ICMT16/</a> you will find
a link to the Proceedings that is free for a couple of weeks.<br>
<br>
If you want huge models to test performance, you may be better off
writing custom code, since the smart generators are really slow.
There is no point viewing huge models graphically. You might find
that it is better to provide a spreadsheet view of huge models to
facilitate statistical analyses.<br>
<br>
Regards<br>
<br>
Ed Willink<br>
<br>
<br>
On 14/07/2016 20:34, Chung-Ling Lin wrote:<br>
</div>
<blockquote cite="mid:nm8ph3$lip$1@xxxxxxxxe.org" type="cite">Hi,
<br>
<br>
I am working on a project that need to use the eclipse OCL to
validate the constraints defined in an Ecore model and use ATL to
do the model transformation between two Ecore models. Both of them
requires the instance model (the .xmi file) of an Ecore model as
part of its input. <br>
Right now I am using the "Create Dynamic Instance" feature to
create the instance model of an Ecore model. But since my instance
model contains a lot of objects, it is not convenient for me to
add/modify the objects in the instance model via the sample
reflective ecore model editor. And the modification of the ecore
model may make the instance model not readable in the reflective
ecore model editor. (e.g. change the multiplicity of an
association from 1 to many in the ecore model).
<br>
<br>
Therefore, I would like to know is there any tool or plugin in
eclipse that I can use to edit and review the instance model of an
ecore model more efficiently and allows me to save the instance
model as an xmi file?
<br>
<br>
Thank you for your help.
<br>
<br>
Best Regards,
<br>
Chung-Ling Lin
<br>
</blockquote>
<p><br>
</p>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email has been checked for viruses by Avast antivirus software.
<br><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
</body>
</html>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03530 seconds