Write a Java program that simulates a meeting reservation system. The program shall allow the user to select from the following options: Create a new meeting Show meetings on the calendar Clear all...


Write a Java program that simulates a meeting reservation system.



  • The program shall allow the user to select from the following options:

    1. Create a new meeting

    2. Show meetings on the calendar

    3. Clear all meetings



  • Each meeting has a subject, start day/time and end day/time

    1. Subject is a short text description of the meeting

    2. Day is a date that contains month, day, and year

    3. Meeting times need only deal with hour and minute



  • When the user wants to create a new meeting, the program asks for the subject, start and end day/times for it and adds it to the calendar

    1. For the basic requirements, meetings are not allowed to overlap. If a meeting the user wants to schedule overlaps with an existing meeting, the program presents an error message showing which meeting the one the user wants to schedule overlaps with



  • When the user wants to show all meetings for the week, the report displays all meetings each day as follows

    1. Show all meetings in chronological order

    2. At the end of the report, show a tally of all meetings scheduled in each day and a count of all the meetings that have been scheduled



  • When the user wants to clear meetings for the week, all meetings scheduled are deleted



Technical requirements:



  1. You must have at least one array of objects

  2. Assume the user will enter data correctly with valid start and end day/times




  • The program must support 2 types of meetings

    1. Standard meetings have attributes already described in part one of these requirements (title, start date/time, and end date/time)

    2. Urgent meetings are meetings that also have a priority level of either 0 or 1 and have the following rules when scheduling them:

      1. If the user schedules an urgent meeting level 1 and it overlaps with a standard meeting(s), the program asks the user if they want to remove the standard meeting(s) and if so, the urgent meeting is scheduled and the standard is/are removed

      2. If the user schedules an urgent meeting level 0, the same rule applies as well as may take over urgent meetings that are level 1







  • If the user schedules an urgent meeting that overlaps with another urgent meeting of the same priority level, an error message is displayed following the same rule as described in requirement 3a)




  • Update your meeting report function to also show counts of standard and urgent meetings in a day and in total




  • Each meeting now also has a numeric ID automatically assigned with each new meeting scheduled. Each meeting instance must be a different ID number




  • Allow the user to delete individual meetings from the calendar. When the user wants to do this, the program asks the user for the ID of the meeting. If the meeting is found from the ID, the program shows the meeting to the user and first asks, “Are you sure you want to remove this?” The meeting is removed if the user confirms deleting it




  • Allow the user to update individual meetings from the calendar. When the user wants to do this, the program asks the user for the ID of the meeting. If the meeting is found from the ID, the program shows the meeting to the user and allows the user to enter new information about the meeting. If the start or end times change, the rules for meetings not overlapping still apply




  • Incorporate usage of days of the week to identify meetings on Mondays, Tuesdays, etc.




  • Generate your own set of reporting capabilities such as (and not limited to):

    1. Showing meetings for the week

    2. Meeting metrics such as longest meeting in a day, week, month, or year

    3. Calculate percentage of time spent in meetings

    4. Other ideas…






  • Allow for meeting adjustments such that if a new meeting to be scheduled is overlaps with another, then instead of removing the lower priority or standard meeting, ask the user if they want to change the lesser meeting to start or stop such that it no longer overlaps


Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here