If your class model is a data model, you use the PK stereotype.

Regards,
Walter Howard
Data Analyst


"Do you think," he asked, "if I go to the Emerald City with you, that Oz
would give me some brains?" - The Scarecrow, The Wizard of Oz


                                                                                       
                                 
                    PaulOldfield1@compu                                                
                                 
                    serve.com                 To:     "Sundareswaran, Sumesh" 
<[EMAIL PROTECTED]>          
                    Sent by:                  cc:     "[unknown]" 
<[EMAIL PROTECTED]>                             
                    owner-rose_forum@ra       Subject:     Re: (ROSE) Unique Keys      
                                 
                    tional.com                                                         
                                 
                                                                                       
                                 
                                                                                       
                                 
                    07/11/2002 09:29 AM                                                
                                 
                    Please respond to                                                  
                                 
                    PaulOldfield1                                                      
                                 
                                                                                       
                                 
                                                                                       
                                 





(responding to Sumesh Sundareswaran)

> How would you indicate unique keys in a class diagram.

Generally speaking, in an OO class diagram you wouldn't
represent unique keys; an OO object is expected to have
a unique object identity that never needs to be visible to
the program.

However, you may find the use of an UML 'qualifier' meets
your needs.  I won't go into detail here, the entry in the
UML reference manual covers nearly 7 pages  ;-)

If this isn't of any use to you, try giving us a bit more detail
on why you want unique keys.

HTH,

Paul Oldfield

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
www.aptprocess.com

any opinions expressed herein are not necessarily those of
Mentors of Cally or the Appropriate Process Movement
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* 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
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* 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