Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please need the answer in uml diagram and it could be greatful if anyone can answer it ASAP A school management system contains three classes,

please need the answer in uml diagram and it could be greatful if anyone can answer it ASAP
A school management system contains three classes, i.e., the Staff class, the Subject class and the School class (Primary class).
The Staff class is used to keep and maintain the information of a staff. Its field shall contain
the basic information of a staff, such as the ID, name, gender, title, phone, email, position and
office location. The staff class shall provide the constructor, mutators and accessors to create,
access and modify the Staff object.
The Subject class is used to keep and maintain a subjects information. Its field shall contain
at least the subject name, code, session and year, coordinator (a Staff object), and lectures and labs information. The Subject class shall provide the constructor, the mutators and the
accessors to modify the subject information.
The School class is used to keep and maintain the information of a school. Its field shall
contain some basic information of the school, such as the school name, the head of school (a
Staff object), the school manager (a Staff object), other academic staff (a Staff ArrayList),
and all subjects offered by the school (a Subject ArrayList). School class shall contain at least
one constructor for creating the School objects. The School class shall also contain necessary
mutators and accessors to modify and access the field. More important, it shall contain
methods to modify the staff list and the subject list.
Task 1: Class design with UML class diagrams (2 marks)
Based on the above description, you shall complete the design of the school management
system with the three classes and draw UML class diagrams (using UMLet or other
professional tools, NO hand drawing) to represent your design. You shall use the correct
notations for UML class diagram and clearly show the field, methods and associations
between the three classes.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions