The Advisor Appointment Booking System

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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

 

 

java.lang.Serializable
<<interface>>
model
PassengerList
-flightNum: long
- passengers: ArrayList<Long>
Customer
- ssn: long
- lastName: String
- firstName: String
- birthYear: int
- healthCheck: boolean
-phone: String
email: String
Flight
-flightNum: long
-ship: String
- numBerths: int
-departureDate: LocalDate
presentation
layer
business
layer
data layer
Launcher
-manager: BusinessManager
Sortable
<<interface>>
JavaFxUI
BusinessManager
- customerSet: Sortable Set
-flightSet: Sortable Set
- manifests: ArrayList<PassengerList>
InvalidKeyException
Sortable Set
+1
java.lang.Exception
DuplicateException
Transcribed Image Text:java.lang.Serializable <<interface>> model PassengerList -flightNum: long - passengers: ArrayList<Long> Customer - ssn: long - lastName: String - firstName: String - birthYear: int - healthCheck: boolean -phone: String email: String Flight -flightNum: long -ship: String - numBerths: int -departureDate: LocalDate presentation layer business layer data layer Launcher -manager: BusinessManager Sortable <<interface>> JavaFxUI BusinessManager - customerSet: Sortable Set -flightSet: Sortable Set - manifests: ArrayList<PassengerList> InvalidKeyException Sortable Set +1 java.lang.Exception DuplicateException
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education