Re: Copy, paste, import ?

Martin Matula <[email protected]> Fri, 11 Jul 2003 21:06:27 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
If you want this to work independently of the metamodel, you will need 
to use reflective API and explore metaobjects of the objects that are 
copied, read values of all the attributes, references and recreate them 
in the target model. Eventually you could use XMI reader and XMI writer 
if you want to copy whole models (reader can be passed to writer as 
ContentHandler, which will cause that writer will read data from one 
extent and send events to reader, which will create those data in 
another extent).
Martin

Anders W. Tell wrote:
> Hi all,
> 
> Before I go on holiday Im trowing away yet another question.
> 
> How simple is it to create functionality to support copy, paste and 
> import of JMI/MOF artifact  from one MDR model to another MDR based model?
> 
> 
> cheers
> /anders
> 
>