• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ghuser Oil project - business domain model

 
Sergio Aragon
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

In the business domain model there are the following classes:

One class called Refinery, this class is related (association) with three classes (three different types of oil), also another class called Bid is associated with these three classes.

My idea is to add one class called OilProduct, this class will be associated with class Refinery and with class Bid.
OilProduct will be related (Inheritance / Generalization) with these three different types of oil.

Can I add this new class?
Can this cause a failure in my solution?

Kind regards
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
 
Amritendu De
author
Ranch Hand
Posts: 188
11
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the description you have provided, it seems okay to add the parent class. But you should be sure that the three classes(3 different types of oil) you mentioned are related.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic