The Advisor Appointment Booking System
java
Please draw an architecture UML diagram
Below is the information:
Description:
The Advisor Appointment Booking System is a program that allows students to easily schedule appointments with their academic advisors. The program will maintain two sets of unconnected data: a set of advisors and a set of students. Each student can book appointments with their assigned advisor or any available advisor. Students can view their upcoming appointments, as well as cancel or reschedule them if needed. Advisors can view their own schedules and manage their availability. The program will save all data to a file or set of files so that it persists from one run to the next.
Target User:
The target users for this program are college students and academic advisors.
Storyboard:
Students log in to the program and are directed to their personalized dashboard.
On the dashboard, students can view their upcoming appointments and request new appointments with their assigned advisor or any available advisor.
Advisors log in to the program and are directed to their personalized dashboard.
On the dashboard, advisors can view their own schedules and manage their availability.
Both students and advisors can cancel or reschedule appointments as needed.
Architecture:
The program will follow a three-tier architecture:
I can provide a text-based description of a 3-tier architecture for the Advisor Appointment Booking System:
Tier 1: Presentation Layer
- Contains the user interface components of the system
- Includes the Login Screen, Student Dashboard, Advisor Dashboard, Appointment Scheduling Interface, and Appointment Management Interface
Tier 2: Business Layer
- Contains the business logic of the system
- Includes the Appointment class, Student class, Advisor class, and Appointment Manager class
- The Appointment class stores information about appointments, such as the student, advisor, date, and time
- The Student class stores information about students, such as their name, ID, and assigned advisor
- The Advisor class stores information about advisors, such as their name, ID, and availability
- The Appointment Manager class manages the scheduling, cancelling, and rescheduling of appointments, as well as saving data to files and retrieving that data when the program starts up again
Tier 3: Data Layer
- Contains the data storage and retrieval components of the system
- Includes the SortedSet class, which is used to store instances of the Student, Advisor, and Appointment classes
- The Student and Advisor classes implement the Sortable interface to allow for sorting within the SortedSet
- All classes implement the Serializable interface to allow for saving and loading data to/from files
Appointment class
- appointmentID: String
- date: Date
- startTime: Time
- endTime: Time
- student: Student
- advisor: Advisor
Student class
- studentID: String
- name: String
- advisor: Advisor
Advisor class
- advisorID: String
- name: String
- appointments: List<Appointment>
- schedule: Schedule
AppointmentManager class
- students: SortedSet<Student>
- advisors: SortedSet<Advisor>
- appointments: SortedSet<Appointment>
- STUDENT_FILE_NAME: final String
- ADVISOR_FILE_NAME: final String
- APPOINTMENT_FILE_NAME: final String
Below is an image for reference how it should look like
Step by step
Solved in 4 steps with 1 images