Hello Tian WeiJun,
You would have to rightclick on the column in Rose browser
and check Data Modeler -> Part of Object Identity.
If it comes to controling the length, then I would suggest
to try to use Domains. Note, that both features were introduced
in Rose 7.1 (Rose 2001).
Best Regards,
Zbigniew Babiej, Rational
-----Original Message-----
From: Tian WeiJun [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 7:19 AM
To: rose forum
Subject: (ROSE) how to tranform a attribute in class diagram into Primary
key in Data Diagram?
Hello
I am trying generating data model diagram from class diagram (I am using
Java).
but I can't find a way to let rose automaticly tranform a attribute (for
example, customID in Class Custom,type is String)
into the primary key.In fact, rose automaticly add a new column in the final
table(T_Custom table) and make it a PK: T_Custom_ID:number.
I feel it is very un-convenient .
so, would anyone tell me whether we can told rose to make a attibute in
Class(customID in Custom) into the primary key and not generate the
T_Custom_DI column?
and, how can we assign the length of this attibute(for example,
customID:String, length is 30)?
thanks a lot.
************************************************************************
* 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
*
*************************************************************************