Re: [mdr-users] MDR et CWM models
Martin Matula <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
To serialize a subset of the objects in a given extent, you can use XMIWriter.write() method that takes collection of objects (you pass the objects you want to export to XMI in this collection). Regards, Martin Céline Le Jeune wrote: > Hi! > > Does someone know about CWM packages: How to use those packages... > > I am defining several structures of files using MDR and trying to > follow the CWM Record package model. I'd like to save those > definitions in a XMI format (I am using XMI writer, which takes the > whole RecordPackage as an argument: not only the list of structure > definitions I have implemented). Is there another way to save them? > > I also like to know how to use these RecordDefs(structures of my > files) to instantiate some records : putting values in the fields. I > cannot find out how to create a general instance without having to > create each field values and to associate them to a slot which I have > to associate with my new record instance... Is this the way or is > there a simplest way? > Does someone already use them? > > Thanks again > > Céline > > This message contains information that may be privileged or > confidential and is the property of the Capgemini Group. It is > intended only for the person to whom it is addressed. If you are not > the intended recipient, you are not authorized to read, print, retain, > copy, disseminate, distribute, or use this message or any part > thereof. If you receive this message in error, please notify the > sender immediately and delete all copies of this message. >