This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Is this an inheritance relationship? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Is this an inheritance relationship?" Watch "Is this an inheritance relationship?" New topic
Author

Is this an inheritance relationship?

Jack LaRoche
Greenhorn

Joined: Feb 08, 2009
Posts: 1
I'm creating a course enrollment system and have a question about the domain model I've designed thus far. A central domain class is Course, which represents a unique course offering (e.g. Intro to Psychology, Advanced Calculus). The Seminar class represents a scheduled instance of a Course (e.g. Intro to Psychology-2nd Semester, MWF 1:00-2:00pm). I modeled these classes as Associations (Courses will have 1..n Seminars). This seems right, but I can see how it might be argued (weakly IMO) that this an Inheritance relationship. After all, isn't a Seminar a specialized type of Course?

Thanks for any advice/feedback!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is this an inheritance relationship?
 
Similar Threads
OO Fundamentals
Factory Homes Revamp
SCEA - Domain Modelling
to Mikalai Zaikin..
Why Calculus?