Consider whether it is appropriate to introduce the enhanced concepts of specialization/generalization, aggregation, and/or composition for the case studies described in Appendix B.
What will be an ideal response?
There are aspects of each case study that could be represented using specialization /
generalization, aggregation, and/or composition. Some examples are given below:
The University Accommodation Office Case Study
Accommodation as a superclass with subclasses StudentFlat and HallofResidence.
Staff as a superclass with subclasses HallManager, AdministrativeAssistant, and Cleaner.
Aggregation relationship between StudentFlat and FlatInspection
Composition relationship between StudentFlat and FlatRoom
Composition relationship between HallofResidence and HallRoom
The EasyDrive School of Motoring Case Study
Test as a superclass with TheoryTest and PracticalTest as subclasses.
Staff as a superclass with subclasses SeniorInstructor, Instructor, and Administrator.
Composition relationship between Car and DrivingSchool
Composition relationship between Staff and DrivingSchool
The Wellmeadows Hospital Case Study
Staff as a superclass with subclasses MedicalDirector, PersonnelOfficer, ChargeNurse,
SeniorNurse, JuniorNurse, Doctor, and Auxiliary.
Patient as a superclass with subclasses OutPatient and InPatient.
Supply as a superclass with subclasses Surgical, Non-surgical, and Pharmaceutical.
Aggregation relationship between Patient and PatientMedication.
You might also like to view...
The command java invokes the ___________, which executes Java programs.
Fill in the blank(s) with the appropriate word(s).
Adds or reduces spacing between words.
a. Leading b. Kerning c. Text-indent d. Tracking
A cover page is an alphabetical listing of topics covered in a document and with the page numbers on which the topics are discussed
Indicate whether the statement is true or false
What is the color standard for stereo (headset) output?
a. Pink b. Lime green c. Light blue d. Black