I have a class model that has a superclass-subclass structure (e.g., the id is in the superclass). I have several tables that implement the subclasses. I am having difficulty mapping the id from the superclass to multiple database tables. It seems that VP-UML EE (Evaluation Copy) will requires all the attributes to be placed in classes without a superclass/subclass structure. How do I map superclass attributes? Thanks.
You can keep the superclass/subclass structure and define Discriminator for your subclasses. Please read the following page for details about Discriminator:
Hope this helps.
The text shows how to use discriminator when the superclass is the implementation table. We have tables for the subclasses. The attributes of the superclass map to more than one table. How is this done in VP tool?
I think changing the subclass inheritance strategy might help. I prepared a movie to show you what I am talking about. Please watch at:
Please take a look, and let me know if it can fulfill your need or not. Thank you.
Have a nice weekend!