ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Object-Relational Mapping with Apache Jakarta OJB
Subject:   Bogus Modelization
Date:   2003-01-15 03:54:35
From:   anonymous2
Sigh... No matter which mapping tool one use, if one cannot get its modelization right in the first place, it doesn't matter, isn't it?



More to the point, Manager should not be a subclass of Employe. An Employe is simply a contact. A Manager is a role. An Employe could be a Janitor also. Are you going to modelize that by subclassing Employe? Duh. Looking forward to see how you modelize an Employe with multiple roles.


I assume that's what multiple inheritance is for: bogus object model... Oh well...


1 to 1 of 1
  1. Bogus Modelization
    2004-01-03 11:50:32  anonymous2 [View]

1 to 1 of 1