Application Development using Object-Oriented Paradigm: A Case Study Problem Statement: The Gymnasium Management System (GMS): Description: 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 Single Member and Family Member 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. Create 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. You should keep in mind that there are many ways to solve this problem statement. Be creative and provide detailed solution to the problem. Marks 1 Marking Criteria Create a Class relationship diagram using UML symbols Write a complete java programming implementation for classes Final Grade . 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): Mobammad Ali Gender: M Date of Birth (dd/mm/yxxx): 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 sMemberld 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
Application Development using Object-Oriented Paradigm: A Case Study Problem Statement: The Gymnasium Management System (GMS): Description: 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 Single Member and Family Member 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. Create 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. You should keep in mind that there are many ways to solve this problem statement. Be creative and provide detailed solution to the problem. Marks 1 Marking Criteria Create a Class relationship diagram using UML symbols Write a complete java programming implementation for classes Final Grade .
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): Mobammad Ali Gender: M
Date of Birth (dd/mm/yxxx): 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 sMemberld 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
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images