GMS is a gymnasium management system that helps any gym receptionist or help desk staff to manage the gym members’ accounts by:
GMS is a gymnasium management system that helps any gym receptionist or help desk staff to manage the gym members’ accounts by:
1) registering members who can be singles or families
2) applying special discounts to some members
3) Registering members in physical activity classes and services
4) Displaying invoices and related search results.
The GMS has two types of members: single and family. The member class is a super-class abstract that has the common attributes and methods in all types of members.
The two sub-classes SingleMember and FamilyMember each extends the superclass and define other more specific attributes and methods. The gym system also offers many Services (abstract class) that can be divided into two subclasses Class (e.g., cardio, and cycling) and Amenity (e.g., swimming-pool, and steam-room).
After adding the members and services to the system. The help desk staff would be able to register any member in any services. The help desk staff are also able to apply a special discount on some memberships if the member is registered for 10 years or more. The gym Also offers the VIP costumers additional discount in some of classes only.
Keeping the above-mentioned problem statement, explain the following 3 steps in detail
1. Draw a Class relationship diagram using UML symbols [1 mark for creating the class relationship diagram using UML notations].
2. Give complete java programming implementation for classes that were found in design phase. You must mention their most probable instance variables and methods. [4 marks]
You should keep in mind that there are many ways to solve this problem statement. Be creative and provide detailed solution to the problem.
Output:
Run:
————— Welcome to Gym Management System —————
1- Add a single member
2- Add a family member
3- Add a class
4- Add an amenity
5- Register a member
6- Print sort classes
7- Print sort amenities
——————————————–
Please select an option: 1
***************Adding Single Members**************
How many single members do you want to add? 1
<>
Please enter the following data:
Full Name (Separated by an underscore): Mohammad_Ali
Gender: M
Date of Birth (dd/mm/yyyy): 20/11/1990
Date of Regestration (dd/mm/yyyy): 5/3/2021
Address (Alsamer/AlKhaldiah…etc): ALRawdah
Phone(+9665xxxxxxxx): +966555506879
Membership Type (VIP/Regular): VIP
sMemberID is 1001
——————————————————–
Member arrayList size is 1
——————————————————–
*******All Single Members were successfully added*******
———————————————————
Do you still want to continue? (y/n) y
————— Welcome to Gym Management System —————
1- Add a single member
2- Add a family member
3- Add a class
4- Add an amenity
5- Register a member
6- Print sort classes
7- Print sort amenities
——————————————–
Please select an option:
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.