A Broker sells many Stocks. Stocks are sold by many Brokers. There are
two classes, Stocks and Brokers. I now want to know how many shares of
Stock a Broker sold. I can't add this attribute to the Stock class because
a Stock can be sold by many Brokers. I can't add the attribute to the
Broker class because a Broker can sell many Stocks. I need to add an
intersection (association) class to store this attribute. I can call the
new class BrokerStock. It has a composite aggregation relationship to
Broker and Stock. Now I can see for each BrokerStock transaction how many
shares of stock were sold.
Regards,
Walter Howard
Data Analyst
"Martin Paul"
<mpaul@omnesysindia To: <[EMAIL PROTECTED]>
.com> cc:
Sent by: Subject: (ROSE) Data
Modelling--Associations
owner-rose_forum@ra
tional.com
02/07/2002 01:15 AM
Please respond to
"Martin Paul"
Hi ,
Can anyone help me out in certain concepts in data modeling.
I have not understood the following
1)Intersection classes
2)Association classes,
3)Qualified associations
Can anyone give some real world examples of object model to data model
mapping
for each of these other than those given with rose docs.
Thanks in Advance
����������� Martin Paul
��� Omnesys Technologies
���� +91- 80 - 8521464-68
mailto: [EMAIL PROTECTED]
************************************************************************
* 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
*************************************************************************