RE: [mdr-users] MDR et CWM models

"Pete Rivett" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Celine,
I have used CWM including the Record package, although not with MDR. So cannot comment on use of XMI Writer.
 
For creating record instances, if you're using CWM 1.1 then you can make use of DataSlot which inherits from Slot and has a string attribute 'dataValue' which avoids the need for a separate DataValue object.
 
Regards
Pete

Pete Rivett (mailto:[email protected]) 
CTO, Adaptive Inc. 
Dean Park House, 8-10 Dean Park Crescent, Bournemouth, BH1 1HL, UK 
Tel:  +44 (0)1202 449419 Fax: +44 (0)1202 449448 
http://www.adaptive.com <http://www.adaptive.com/>  


 


  _____  

	From: Céline Le Jeune [mailto:[email protected]] 
	Sent: Tuesday, June 14, 2005 3:56 PM
	To: [email protected]
	Subject: [mdr-users] MDR et CWM models
	
	
	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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.