Hi,

Building DM models with REI is not stright forward.
Please, visit the following site:
http://www.rational.com/support/downloadcenter/addins/rose/index.jsp

There you will find DMlib.ebs.

This script implements the REI interface to Data Modeler, hiding all details
of Data Modeler implementation. It allows you to easily create Data Models
from within Rose scripts. The Main procedure presents the typical usage of
the method calls.

HTH

Zbigniew Babiej, Rational Software



-----Original Message-----
From: Li, Qirong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 9:22 PM
To: '[EMAIL PROTECTED]'
Subject: (ROSE) Using DM in Scripting ?



Hi all,

I have a question about Data Modeler. Is it possible to use DM in script
file? 

I was able to add a new class under  a Schema, then set
theClass.stereotype="Table". ( this will map the class to a table)
But when I tried the same way to add a new attribute to this class, I
could not set this attribute's stereotype. I could not set
isIdentity=true either if this is a primary key. I checked the online
help file, it says:

"The IsIdentity attribute (column) property is for internal use only and
should not be set by the user.  "

...

I need to bring a lot of information (batch files) into data model and
object model, if it is impossible to work with Data Modeler in scripts,
any other ways I can get the job done?

I appreciate any information. 

Michelle        

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to