Now that I have thought about this for a day or two, here is a very
basic pseudo-model of what I have so far:
Role
----------
----------
GetCourses():query
Faculty Extends Role
----------
----------
GetCourses():query
Student Extends Role
----------
----------
GetCourses():query
TeachingAssistant Extends Role
----------
----------
GetCourses():query
Employee Extends Role
----------
----------
GetCourses():query
In these examples, GetCourses() will query different information
depending on the role. Therfore, I will override the methods in each
subclass. This makes sense for the first three subclasses.
Employees, however, will not have any courses. In that class, should I
just have Employee.GetCourses() throw an error, or throw something in
the Role class that covers all possible causes of not having any
courses?
Thanks
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Jamie Jackson
- Re: CFC Design for Multiple Person Roles Joe Rinehart
- Re: CFC Design for Multiple Person Roles Sean Corfield
- Re: CFC Design for Multiple Person Roles Joe Rinehart
- Re: CFC Design for Multiple Person Roles Sean Corfield
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Sean Corfield
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- RE: CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Dawson, Michael
- Re: CFC Design for Multiple Person Roles Sean Corfield