Hello Walter,
 
At this moment there is no automatic way of mapping multiple entities to one class. But you can do it manually.
The following method works for me (Rose 2001):
 
- Make the DM-OM transformation (including PKs)
- Move the PK attribute of ClientStatus from OM_ClientStatus to OM_Cient in the browser
- delete the OM_ClientStatus class from object model
- you will notice that Rose DM still keeps track of the mapping between columns, for example if you change
  the attribute type in OM_ClientStatus and update the DM, the data type of related column in T_ClientStatus will be updated as well
 
HTH
 
Zbigniew Babiej, Rational
 
 
-----Original Message-----
From: Walter Howard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 11:11 PM
To: [EMAIL PROTECTED]
Subject: (ROSE) Object to Relational Mapping

In my schema, I have a Customer entity that has a non-identifying relationship to a parent entity called Customer Status.  The Customer Status entity provides the domain values for the different statuses that apply to a customer.  The object (class) model only has one class called Customer.  How do I map the multiple entities to one class?
Walter

Reply via email to