Gym Management System Project Coding

Creating a java program for the project attached. Submit a zip file with all the code

Get Help With a similar task to - Gym Management System Project Coding

Login to view and/or buy answers.. or post an answer
Additional Instructions:

Project Goal: To learn how to build and evolve large-scale programs using object-oriented programming, and work in teams learning from each other. Topics: In exploring object-oriented programming, we investigate two questions which are the essence of object-oriented programming: 1. Design: How do we think about a program in terms of objects? To answer this question, we explore UML diagrams and design patterns. 2. Primitives: How do we express object orientation? To answer this question, we explore classes, inheritance, interfaces, overloading, and overriding. public static boolean WriteToTabDelimitedFile(String[] data, String FileName) { try { FileWriter fileWritter = new FileWriter(FileName); BufferedWriter bufferWritter = new BufferedWriter(fileWritter); // loop through all your data and print it to the file for (int i=0;i< data.length;i++) bufferWritter.write(data[i]+"\t"); bufferWritter.write("\n"); bufferWritter.close(); } catch (IOException e) { System.out.println("Error Printing Tab Delimited File"); return false; } return true; } public static boolean appendToTabDelimitedFile (String[] data, String FileName) { try{ File file =new File(FileName); if(!file.exists()) //if file doesn’t exists, return false return false; FileWriter fileWritter = new FileWriter(file.getName(),true); BufferedWriter bufferWritter = new BufferedWriter(fileWritter); for (int i=0;i< data.length;i++) bufferWritter.write(data[i]+"\t"); bufferWritter.write("\n"); bufferWritter.close(); } catch (IOException e){ e.printStackTrace(); } return true; } public static String [] readFromTabDelimitedFile (String FileName) { List<String> lines = new ArrayList<String>(); try { FileReader fileReader = new FileReader(FileName); BufferedReader bufferedReader = new BufferedReader(fileReader); String line = null; while ((line = bufferedReader.readLine()) != null) lines.add(line); bufferedReader.close(); } catch (IOException e) { e.printStackTrace(); } return lines.toArray(new String[lines.size()]); } public static void main (String[] args) { // Example Use of the above functions String[] data= {"Course", "Lecturer","TA"}; WriteToTabDelimitedFile(data, "courses.txt"); data[0] = "CS243";data[1] = "Manal";data[2] = "Hend"; appendToTabDelimitedFile(data, "courses.txt"); data[0] = "CS244";data[1] = "Manal";data[2] = "Maiada"; appendToTabDelimitedFile(data, "courses.txt"); String[] readData = readFromTabDelimitedFile("courses.txt"); for (int i = 0;i<readData.length;i++) { String [] tokens = readData[i].split("\t"); for (int j = 0;j<tokens.length;j++) System.out.print(tokens[j] + "\t"); System.out.println(); } 2) Gym Management System Develop an application to help a gym manager manage a GYM hall, with various equipments, trainers/customers, equipment’s, and exercise plan, and simple scheduling of the customers subscriptions. Design: Basic Classes: Gym halls, equipments, trainers, exercise plans and customers: H. The Gym hall aggregates several equipments. I. Each hall opens 12 hours a day. J. Each trainer works 8 hours a day in one hall. K. A trainer submits a daily exercise plan with steps assigned to each equipment for a specified duration in minutes. L. Each customer subscribe to a particular hall, at a particular time and date, with a particular trainer, with a specified exercise plan for one month. Provides an interface for the user to: 5. Adding/editing/deleting GUI to each class, 6. The system should check the availability of trainer and the equipments listed in the exercise plan at the time chosen by the customer, before adding a new subscription. 7. Enquire about customers subscriptions, halls schedule, and trainers schedule. Sample data include: customers.java Customer ID Name Address Phone Email 1 … … … 2 … … … 3 … … … Trainers.java Trainer ID Name 1 2 3 equipments.java Equipment ID Name 1 2 3 excercisePlans.java Plan ID Trainer ID Equipment ID Duration 1 1 1 5 1 1 2 20 2 2 3 Coffee Mug subscriptions.java Subscription ID Date/Time Customer ID Trainer ID Exercise ID 1 1 2 2

Related Questions

Similar orders to Gym Management System Project Coding
7
Views
0
Answers
Need to create java code for telephone directory with the following instructions:
Implementation of class(s), object(s), method(s) and arrays are compulsory. Display a menu or selection window or title screen about your project. Take user information/data who is using the Telephone Directory. Your solution must have search features t...
24
Views
0
Answers
Java FX, pre-existing code adding math operators and a user menu DUE @ 11:50pm (please request more money if needed)
Take the code provided: - You may not edit the files in the cis260 package (but you may add new files) - You can edit files in the scenebuilder package. You'll need to add the following functionality to the program: 1. Add a menu option ...
7
Views
0
Answers
Java FX CIS 260 Homework, Using scene builder, adding user menu to pre existing code, and buttons.
Take the code provided, You'll need to add the following functionality to the program: 1. Add a menu option that lets the user print the selected math operations to a file. 2. Add support for the following math operations: < <= > >= 3. 3 value s...
15
Views
0
Answers
java program in netbeans and using SQL workbench for a connected database
I have 80 % of my project done I just dont know how to add this binary tree code that asks the users interview questions. TO Play when click the interview button here's a description of what its about Develop an application that interviews a patient fo...