[mdr-users] Copy one Model form a Instance to another Instance

"Alexander Stenzer" <[email protected]> Fri, 12 May 2006 09:18:12 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C675A4.FE8F5350
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

Is there a way to copy a ModelElement form one instance to another instance?

I want to do the following thing.

1. Read an UML Model form XMI into a instance.
2. Read a second UML Model form XMI into a instance.
3. Copy/Clone the second UML Model and instert it into the first instance.
4. Saving the file.


Thanks for helping.

Alexander

------=_NextPart_000_0001_01C675A4.FE8F5350
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7036.0">
<TITLE>Copy one Model form a Instance to another Instance</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Is there a way to copy a ModelElement =
form one instance to another instance?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I want to do the following =
thing.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">1. Read an UML Model form XMI into a =
instance.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">2. Read a second UML Model form XMI =
into a instance.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">3. Copy/Clone the second UML Model and =
instert it into the first instance.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">4. Saving the file.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks for helping.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Alexander</FONT>
</P>

</BODY>
</HTML>
------=_NextPart_000_0001_01C675A4.FE8F5350--