Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

add() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input data and calls for creating of new doctor in hospital system.
add() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input data and calls for creating of new patient in hospital system.
add() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.PersonnelMenu
Provides option to add new personnel.
addAppointment() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input data and calls for creating of new appointment in hospital system.
addAppointment(Appointment) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Adds appointment info the department calendar.
addAppointment(AppointmentData) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Adds new appointment into the system.
addDoctor(DoctorData) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Adds doctor into the database.
addDoctor(DoctorData) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Adds new doctor into the system.
addOption(String, Runnable) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Adds new option into the menu.
addOption(String, Runnable) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Adds new option into the menu.
addOption(String, Runnable) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Adds new option into the menu.
addOption(String, Runnable) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Adds new option into the menu.
addOption(String, Runnable) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Adds new option into the menu.
addOption(String, Runnable) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Adds new option into the menu.
addPatient(PatientData) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Adds patients into the database.
addPatient(PatientData) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Adds new patient into hospital system.
alignmentOfAppointment - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Requirement that all appointments have to start and end at *.30 or *.00 (so at half or whole hours)
all() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Prints data about every doctor in hospital system.
all() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Prints all patients in the hospital system.
all() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.PersonnelMenu
Provides option to display all personnel associated with menu page.
allDoctors() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns list of information about every doctor in the system.
allPatients() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns list of information about every patient in the system.
anamnesis() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientsDetails
Returns the value of the anamnesis record component.
api - Variable in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Connection to the hospital system
api - Variable in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Connection to the hospital system
api - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Connection to the hospital system
api - Variable in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Connection to the hospital system
api - Variable in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Connection to the hospital system
api - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Connection to the hospital system
Appointment - Class in cz.cuni.kubinja.hospitalsystem.calendar
Appointment of patient and doctor in specific time and length.
Appointment(int, int, int, String, LocalDateTime, LocalDateTime) - Constructor for class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Creates new appointment.
Appointment(int, Patient, Doctor, LocalDateTime, LocalDateTime) - Constructor for class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Creates new appointment.
Appointment(ResultSet) - Constructor for class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Creates appointment from SQL result set.
AppointmentCompare - Interface in cz.cuni.kubinja.hospitalsystem.calendar.util
Functional interface for appointment comparating functions.
AppointmentData - Record Class in cz.cuni.kubinja.hospitalsystem.calendar.util
Data wrapper for appointment.
AppointmentData(int, int, LocalDateTime, LocalDateTime) - Constructor for record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Creates an instance of a AppointmentData record class.
appointmentDeleteDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure to delete appointment from the database error message
appointmentExportDestination - Static variable in class cz.cuni.kubinja.hospitalsystem.util.ExportsUtil
Location of the file where will be exported appointment data
appointmentGetDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of querying appointments from database error message
appointmentInsertDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of inserting appointment into database error message
AppointmentMenu - Class in cz.cuni.kubinja.hospitalsystem.UI
Menu page containing options connected with appointments.
appointments - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Sorted set of the appointments connected with the department
appointmentUpdateDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure to update appointments data to the database error message

B

BOTTOM - Enum constant in enum class cz.cuni.kubinja.hospitalsystem.calendar.util.Parts
Bottom part of graphical calendar representation

C

Calendar - Class in cz.cuni.kubinja.hospitalsystem.calendar
Manager of appointments for hospital system.
Calendar() - Constructor for class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Creates empty calendar.
CalendarException - Exception Class in cz.cuni.kubinja.hospitalsystem.calendar
Exception connected with the calendar and appointments.
CalendarException(String) - Constructor for exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Creates new calendar exception with the provided message.
CancelException - Exception Class in cz.cuni.kubinja.hospitalsystem.UI
Custom exception which is thrown when the user does not comply with the process of inputting and forcefully exit.
CancelException(String) - Constructor for exception class cz.cuni.kubinja.hospitalsystem.UI.CancelException
Creates CancelException with the provided message.
checkAndAddAppointment(AppointmentData) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Checks the provided appointment data and adds the new appointments into the database.
clearConsole() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Clears console with appropriate command based on OS
clearConsole() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Clears console with appropriate command based on OS
clearConsole() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Clears console with appropriate command based on OS
clearConsole() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Clears console with appropriate command based on OS
clearConsole() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Clears console with appropriate command based on OS
clearConsole() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Clears console with appropriate command based on OS
compare(Appointment, Appointment) - Method in interface cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentCompare
Compares two appointments.
compareTo(Appointment) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Compares two appointments based on starting and ending time and id.
computeLayers() - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Computes hierarchy how to arrange appointments so the parallel appointments do not overlap in the calendar diagram.
createNew(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Checks whether the user wants to create new object.
createNew(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Checks whether the user wants to create new object.
createNew(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Checks whether the user wants to create new object.
createNew(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Checks whether the user wants to create new object.
createNew(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Checks whether the user wants to create new object.
createNew(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Checks whether the user wants to create new object.
cz.cuni.kubinja.hospitalsystem - package cz.cuni.kubinja.hospitalsystem
Interactive hospital managing system using SQLite database and with command line user interface.
cz.cuni.kubinja.hospitalsystem.calendar - package cz.cuni.kubinja.hospitalsystem.calendar
Provides classes managing calendar and planing of appointments.
cz.cuni.kubinja.hospitalsystem.calendar.util - package cz.cuni.kubinja.hospitalsystem.calendar.util
Contains data wrappers for calendar entries (appointments).
cz.cuni.kubinja.hospitalsystem.database - package cz.cuni.kubinja.hospitalsystem.database
Package contains classes providing interface for easy communication between hospital system and SQLite database.
cz.cuni.kubinja.hospitalsystem.packet - package cz.cuni.kubinja.hospitalsystem.packet
Packets that are used for transporting data between the hospital system layer and menu layer.
cz.cuni.kubinja.hospitalsystem.personnel - package cz.cuni.kubinja.hospitalsystem.personnel
Provides classes representing worker entities in hospital such as doctors and patients.
cz.cuni.kubinja.hospitalsystem.personnel.util - package cz.cuni.kubinja.hospitalsystem.personnel.util
Provides data wrappers for hospitalsystem.personnel classes.
cz.cuni.kubinja.hospitalsystem.UI - package cz.cuni.kubinja.hospitalsystem.UI
Provides classes containing command line user interface thus menu pages and their functionality.
cz.cuni.kubinja.hospitalsystem.util - package cz.cuni.kubinja.hospitalsystem.util
Utility package for hospital system.

D

data - Variable in class cz.cuni.kubinja.hospitalsystem.packet.DataPacket
Data wrapper inside the data packet
Database - Class in cz.cuni.kubinja.hospitalsystem.database
Interface for communication with SQLite database from Hospital system request.
Database(String) - Constructor for class cz.cuni.kubinja.hospitalsystem.database.Database
Connects to the databased located on provided url and check whether the database has correct structure.
DatabaseException - Exception Class in cz.cuni.kubinja.hospitalsystem.database
Custom exception connected with the database queries errors tailored for the hospital system.
DatabaseException(String) - Constructor for exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Creates databaseException with the provided message.
DatabaseException(String...) - Constructor for exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Creates databaseException with the provided message parts.
DatabaseException(String, String) - Constructor for exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Creates databaseException with the provided messages.
DataPacket<T> - Class in cz.cuni.kubinja.hospitalsystem.packet
Extension of the general packet that also provides caller with the data output connected to the API request.
DataPacket(Exception) - Constructor for class cz.cuni.kubinja.hospitalsystem.packet.DataPacket
Creates unsuccessful data packet.
DataPacket(T) - Constructor for class cz.cuni.kubinja.hospitalsystem.packet.DataPacket
Creates successful data packet based on provided data.
dateOfBirth() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonData
Returns the value of the dateOfBirth record component.
defineMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
 
defineMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
 
defineMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
 
defineMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
 
defineMenu() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.Page
Defines which options should menu provide and how will be mapped options to the functions.
defineMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
 
defineMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
 
delete() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Deletes all data from hospital system.
delete() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes scanner input for identification number and afterward deletes doctor with this id.
delete() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Delete patient based on provided ID.
delete() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.PersonnelMenu
Provides option to delete existing personnel.
deleteAllData() - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Deletes all data from database.
deleteAppointment() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input data from scanner and deletes appointment with the provided ID.
deleteAppointment(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Deletes appointment from the database based on provided id.
deleteAppointment(int) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Deletes appointment with provided id.
deleteDoctor(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Deletes doctor from the database.
deleteDoctor(int) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Deletes doctor with provided id.
deletePatient(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Deletes patient from the database.
deletePatient(int) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Deletes patient with provided id.
department - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Name of the department in which the appointment is taking place
department() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorDetails
Returns the value of the department record component.
Department - Class in cz.cuni.kubinja.hospitalsystem.calendar
Manager of appointments for department.
details() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorData
Returns the value of the details record component.
details() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientData
Returns the value of the details record component.
Doctor - Class in cz.cuni.kubinja.hospitalsystem.personnel
Represents a doctor in the hospital system.
Doctor - Enum constant in enum class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonKinds
Represents doctors
Doctor(int, String, String, int, int, int, String, String) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
Creates doctor based on provided parameters.
Doctor(int, String, String, LocalDate, String, String) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
Creates doctor based on provided parameters.
Doctor(Person, DoctorDetails) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
Creates doctor based on provided parameters.
DoctorData - Record Class in cz.cuni.kubinja.hospitalsystem.personnel.util
Wrapper for data from which can be created doctor.
DoctorData(PersonData, DoctorDetails) - Constructor for record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorData
Creates an instance of a DoctorData record class.
doctorDeleteDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure to delete doctor from the database error message
DoctorDetails - Record Class in cz.cuni.kubinja.hospitalsystem.personnel.util
Wrapper for data which extends person into doctor.
DoctorDetails(String, String) - Constructor for record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorDetails
Creates an instance of a DoctorDetails record class.
doctorExportDestination - Static variable in class cz.cuni.kubinja.hospitalsystem.util.ExportsUtil
Location of the file where will be exported doctor data
doctorGetDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of querying doctor from database error message
doctorId - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Identification number of the doctor connected with this appointment.
doctorInsertDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of inserting doctor into database error message
DoctorMenu - Class in cz.cuni.kubinja.hospitalsystem.UI
Menu page containing options connected with doctors.
DoctorMenu(Hospital, Scanner) - Constructor for class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Creates doctor menu page.
doctorsId() - Method in record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Returns the value of the doctorsId record component.
doctorUpdateDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure to update doctor data to the database error message

E

edit() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input data and edits doctor with the provided ID.
edit() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input about patient and updates data for the patient with the provided id.
edit() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.PersonnelMenu
Provides option to edit existing personnel.
editAppointment() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input data from scanner and edits appointment with the provided ID.
end() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Sets state of the menu to the end.
end() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Sets state of the menu to the end.
end() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Sets state of the menu to the end.
end() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Sets state of the menu to the end.
end() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Sets state of the menu to the end.
end() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Sets state of the menu to the end.
END - Enum constant in enum class cz.cuni.kubinja.hospitalsystem.UI.UIState
UI should be ending.
endTime - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Ending time of the appointment
endTime() - Method in record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Returns the value of the endTime record component.
equals(Object) - Method in record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorDetails
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientsDetails
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonData
Indicates whether some other object is "equal to" this one.
error - Variable in class cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket
Error message of the exception that occurs while processing API request
exitSequence - Static variable in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Sequence that forcefully stop entering data
exitSequence - Static variable in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Sequence that forcefully stop entering data
exitSequence - Static variable in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Sequence that forcefully stop entering data
exitSequence - Static variable in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Sequence that forcefully stop entering data
exitSequence - Static variable in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Sequence that forcefully stop entering data
exitSequence - Static variable in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Sequence that forcefully stop entering data
export() - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
 
export() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Exports all hospital system into CSV files (patients, doctors, appointments - one file for each)
export() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
 
export() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Patient
 
export() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
 
export() - Method in interface cz.cuni.kubinja.hospitalsystem.util.Exportable
Text format that will be used for exporting object.
export(File) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Exports calendar in CSV format into provided file.
Exportable - Interface in cz.cuni.kubinja.hospitalsystem.util
Requires classes to implement export methods that could be use while exporting content of the classes into files.
exportAll() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Exports all hospital data into file.
exportAppointments() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Exports appointments into file in CSV format.
exportAppointments() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Exports appointment data into file.
exportDirectoryDestination - Static variable in class cz.cuni.kubinja.hospitalsystem.util.ExportsUtil
Location of the exports directory
exportDoctors() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Exports doctors into file in CSV format.
exportDoctors() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Exports doctors data into file.
ExportMenu - Class in cz.cuni.kubinja.hospitalsystem.UI
Menu page containing options connected with exporting of hospital data.
ExportMenu(Hospital, Scanner) - Constructor for class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Creates exports menu page.
exportPatients() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Exports patients into file in CSV format
exportPatients() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Exports patients data into file.
ExportsUtil - Class in cz.cuni.kubinja.hospitalsystem.util
Contains contains connected with exporting data into files.

F

findById() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes scanner input for identification number and afterward prints data about this doctor.
findById() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Prints information about patient with provided ID.
findById() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.PersonnelMenu
Provides option to find personnel based on the identification number.
firstName() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonData
Returns the value of the firstName record component.

G

generalDeleteDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Fails to delete data from database error message
GeneralPacket - Class in cz.cuni.kubinja.hospitalsystem.packet
Wrapper for status information transported via API between hospital system and TUI menu.
GeneralPacket() - Constructor for class cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket
Creates general packet.
GeneralPacket(Exception) - Constructor for class cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket
Creates general packet.
GeneralPacket.Msg - Class in cz.cuni.kubinja.hospitalsystem.packet
Wrapper class containing messages connected with the packets.
getAge() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
Returns age of the person.
getAllDoctors() - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns list of all doctors in the database.
getAllDoctorsWithName(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns list of doctors with provided first name and last name.
getAllPatients() - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns all patients in the database.
getAllPatientWithName(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns list of patients with the provided first name and last name.
getAnamnesis() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Patient
Returns anamnesis of the patient.
getAppointment(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns the appointment based on provided id.
getAppointment(int) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns appointment with the provided id.
getAppointmentsForDoctor(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns list of appointments for doctor with provided id.
getAppointmentsForDoctor(Connection, int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns list of appointments for doctor with provided id.
getAppointmentsForPatient(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns list of appointments for patient with provided id.
getAppointmentsForPatient(Connection, int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns list of appointments for patient with provided id.
getAppointmentsForPersonnel(int, PersonKinds) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns list of all appointments connected to the person with provided id and kind.
getBool(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input from scanner and returns value after processing first line that contains some text that can be converted to bool value.
getBool(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input from scanner and returns value after processing first line that contains some text that can be converted to bool value.
getBool(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input from scanner and returns value after processing first line that contains some text that can be converted to bool value.
getBool(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input from scanner and returns value after processing first line that contains some text that can be converted to bool value.
getBool(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input from scanner and returns value after processing first line that contains some text that can be converted to bool value.
getBool(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input from scanner and returns value after processing first line that contains some text that can be converted to bool value.
getCalendar() - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns calendar object representing all appointments in the database.
getCalendar() - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns calendar for the hospital.
getCalendar(boolean) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Returns list of strings representing graphical version of calendar.
getCalendarForDepartment(String, boolean) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns string representing calendar for the provided department.
getCalendarRepresentation(boolean) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns list of strings representing the calendar of the whole hospital.
getClassIdentifier() - Static method in class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
Returns custom doctor class identifier.
getClassIdentifier() - Static method in class cz.cuni.kubinja.hospitalsystem.personnel.Patient
Returns custom patient class identifier.
getClassIdentifier() - Static method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
Returns custom identifier for Person class.
getDate(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts first line containing valid date (int format YYYY-MM-DD)
getDate(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts first line containing valid date (int format YYYY-MM-DD)
getDate(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts first line containing valid date (int format YYYY-MM-DD)
getDate(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts first line containing valid date (int format YYYY-MM-DD)
getDate(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts first line containing valid date (int format YYYY-MM-DD)
getDate(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts first line containing valid date (int format YYYY-MM-DD)
getDate(String, LocalDate) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts first line containing valid date (in format YYYY-MM-DD)
getDate(String, LocalDate) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts first line containing valid date (in format YYYY-MM-DD)
getDate(String, LocalDate) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts first line containing valid date (in format YYYY-MM-DD)
getDate(String, LocalDate) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts first line containing valid date (in format YYYY-MM-DD)
getDate(String, LocalDate) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts first line containing valid date (in format YYYY-MM-DD)
getDate(String, LocalDate) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts first line containing valid date (in format YYYY-MM-DD)
getDateOfBirth() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
Returns date of birth of person
getDateTime(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts first line containing valid date and time.
getDateTime(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts first line containing valid date and time.
getDateTime(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts first line containing valid date and time.
getDateTime(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts first line containing valid date and time.
getDateTime(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts first line containing valid date and time.
getDateTime(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts first line containing valid date and time.
getDepartment() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
Returns department where the doctor works.
getDepartmentCalendar(String, boolean) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Returns string representing calendar for the provided department.
getDoctor(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns Doctor with corresponding id.
getDoctor(int) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns object representing doctor with provided id.
getDoctor(Connection, int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns Doctor with corresponding id.
getDoctorDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts valid information into doctors details data wrapper.
getDoctorDetails(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts valid information into doctors details data wrapper.
getExportFileName(String) - Static method in class cz.cuni.kubinja.hospitalsystem.util.ExportsUtil
Returns name of the file with export date prefix.
getFirstName() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
Returns firstname of person.
getId() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
Provides unique identification number of person
getInteger(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts first valid integer.
getInteger(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts first valid integer.
getInteger(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts first valid integer.
getInteger(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts first valid integer.
getInteger(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts first valid integer.
getInteger(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts first valid integer.
getLastName() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
Returns lastname of person.
getOption(int) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and returns extracted option.
getOption(int) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and returns extracted option.
getOption(int) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and returns extracted option.
getOption(int) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and returns extracted option.
getOption(int) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and returns extracted option.
getOption(int) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and returns extracted option.
getPatient(int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns patient based on provided id.
getPatient(int) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Returns info about patient with provided id.
getPatient(Connection, int) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns patient based on provided id.
getPatientDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts valid information into patient details data wrapper.
getPatientDetails(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts valid information into patient details data wrapper.
getPerson(String, String, String) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Returns list of people with provided first name and last name.
getPersonData() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData(Person) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData(Person) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData(Person) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData(Person) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData(Person) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts valid information into Person data wrapper.
getPersonData(Person) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts valid information into Person data wrapper.
getQuestion(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Returns question, where the default value is not present.
getQuestion(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Returns question, where the default value is not present.
getQuestion(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Returns question, where the default value is not present.
getQuestion(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Returns question, where the default value is not present.
getQuestion(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Returns question, where the default value is not present.
getQuestion(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Returns question, where the default value is not present.
getQuestion(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Returns question, where will be displayed default value.
getQuestion(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Returns question, where will be displayed default value.
getQuestion(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Returns question, where will be displayed default value.
getQuestion(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Returns question, where will be displayed default value.
getQuestion(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Returns question, where will be displayed default value.
getQuestion(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Returns question, where will be displayed default value.
getSpecialization() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
Returns specialization of the doctor.
getString(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts first not empty line.
getString(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts first not empty line.
getString(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts first not empty line.
getString(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts first not empty line.
getString(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts first not empty line.
getString(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts first not empty line.
getString(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input and extracts first not empty line.
getString(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes input and extracts first not empty line.
getString(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes input and extracts first not empty line.
getString(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes input and extracts first not empty line.
getString(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes input and extracts first not empty line.
getString(String, String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes input and extracts first not empty line.
getStringForPart(Parts) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Returns info about appointment for the calendar diagram based on provided required part.

H

hashCode() - Method in record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Returns a hash code value for this object.
hashCode() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorData
Returns a hash code value for this object.
hashCode() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorDetails
Returns a hash code value for this object.
hashCode() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientData
Returns a hash code value for this object.
hashCode() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientsDetails
Returns a hash code value for this object.
hashCode() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonData
Returns a hash code value for this object.
haveTime(List, LocalDateTime, LocalDateTime) - Static method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Decides whether the time interval [start, end] is in the conflict (have overlap) with some appointment.
haveTime(List, LocalDateTime, LocalDateTime, Integer) - Static method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Decides whether the time interval [start, end] is in the conflict (have overlap) with some appointment.
Hospital - Class in cz.cuni.kubinja.hospitalsystem
Hospital system for managing patients, doctors and appointments.
Hospital(String) - Constructor for class cz.cuni.kubinja.hospitalsystem.Hospital
Creates Hospital which content is based on the data in provided database.

I

id - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Identification number of appointment
importData(ResultSet) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Imports appointments from SQL resultSet.
inConflict(LocalDateTime, LocalDateTime) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Decided whether the time interval is in conflict, if the overlap.
invalidAlignment - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Appointment doest not meet the requirement of starting and ending at half or whole hours error message
invalidOrdering - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Appointment ends before starting error message
invalidPacket - Static variable in class cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket.Msg
Informative message representing general error with the API request connected to the packet.
invalidTimes - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Appointment exceed the opening hours of hospital
invalidTypeOfPersonDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Type of person that is retrieved from database by id is not same as expected type
isAppointmentWithinValidDateTime(LocalDateTime) - Static method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Checks whether the date is between 2000-01-01 00:00 and 3000-01-01 00:00
isWithinValidDates(LocalDate) - Static method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Checks whether the date is between 1990-01-01 and present.

L

lastName() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonData
Returns the value of the lastName record component.
lengthOfSlotInMinutes - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Length of the slot in minutes

M

main(String[]) - Static method in class cz.cuni.kubinja.hospitalsystem.Main
Main entry point of the program.
Main - Class in cz.cuni.kubinja.hospitalsystem
Contains main entry point of the program.
MainMenu - Class in cz.cuni.kubinja.hospitalsystem.UI
Menu page containing crossroad to other submenus.
MainMenu(Hospital) - Constructor for class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Creates main menu page and runs the UI cycle.
MainMenu(Hospital, Scanner) - Constructor for class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Creates main menu page and runs the UI cycle.
Math - Class in cz.cuni.kubinja.hospitalsystem.util
Custom math util class containing math methods useful across the project (which do not appear inbuild libraries).
maxEndingTime - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Every appointment have to end before this hour
MIDDLE - Enum constant in enum class cz.cuni.kubinja.hospitalsystem.calendar.util.Parts
Middle part of graphical calendar representation
minimumDepartmentDisplayNameLength - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Minimum length of the displayed department name
minimumLengthOfAppointment - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Minimum length of appointment
minStartingTime - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
First appointment can start after hour

N

name - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Name of the department
notSameDay - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Start and end time of appointment does not share same date
notValidDepartment - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Requested information for department that is not present in hospital system.
numberOfAppearances(Person) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Returns how many appointments does the provided person had or will have in the future.
numberOfAppearances(Person) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Returns number of appointments that are connected to the provided person.
numberOfDigits(int) - Static method in class cz.cuni.kubinja.hospitalsystem.util.Math
Returns number of digits that the number have.
numberOfSlotsInHour - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Number of slots in hour

O

openingDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of opening/creating database
options - Variable in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Options of the menu page
options - Variable in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Options of the menu page
options - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Options of the menu page
options - Variable in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Options of the menu page
options - Variable in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Options of the menu page
options - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Options of the menu page

P

Page - Interface in cz.cuni.kubinja.hospitalsystem.UI
Denotes what every menu page has to offer.
Parts - Enum Class in cz.cuni.kubinja.hospitalsystem.calendar.util
Parts of the graphical export of calendar.
Patient - Class in cz.cuni.kubinja.hospitalsystem.personnel
Represents a patient in the hospital system.
Patient - Enum constant in enum class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonKinds
Represents patients
Patient(int, String, String, int, int, int, String) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Patient
Creates patient based on provided parameters.
Patient(int, String, String, LocalDate, String) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Patient
Creates patient based on provided parameters.
Patient(Person, PatientsDetails) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Patient
Creates patient based on provided Person and details needed for the patient.
PatientData - Record Class in cz.cuni.kubinja.hospitalsystem.personnel.util
Wrapper for data from which can be created patient.
PatientData(PersonData, PatientsDetails) - Constructor for record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientData
Creates an instance of a PatientData record class.
patientDeleteDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure to delete patient from the database error message
patientExportDestination - Static variable in class cz.cuni.kubinja.hospitalsystem.util.ExportsUtil
Location of the file where will be exported patients data
patientGetDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of querying patients from database error message
patientId - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Identification number of the patient connected with this appointment.
patientInsertDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of inserting patient into database error message
PatientMenu - Class in cz.cuni.kubinja.hospitalsystem.UI
Menu page containing options connected with patients.
PatientMenu(Hospital, Scanner) - Constructor for class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Creates patient menu page.
PatientMenu(Hospital, Scanner, boolean) - Constructor for class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Creates dummy patient menu page.
PatientsDetails - Record Class in cz.cuni.kubinja.hospitalsystem.personnel.util
Wrapper for data which extends person into patient.
PatientsDetails(String) - Constructor for record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientsDetails
Creates an instance of a PatientsDetails record class.
patientsId() - Method in record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Returns the value of the patientsId record component.
patientUpdateDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure to update patient data to the database error message
person() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorData
Returns the value of the person record component.
person() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientData
Returns the value of the person record component.
Person - Class in cz.cuni.kubinja.hospitalsystem.personnel
Represents generic person in hospital system.
Person(int, PersonData) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Person
Creates person based on id and data wrapper for rest of needed parameters.
Person(int, String, String, int, int, int) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Person
Creates person based on provided parameters.
Person(int, String, String, LocalDate) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Person
Creates person based on provided parameters.
Person(Person) - Constructor for class cz.cuni.kubinja.hospitalsystem.personnel.Person
Creates new Person as a copy of provided Person.
PersonData - Record Class in cz.cuni.kubinja.hospitalsystem.personnel.util
Wrapper for data from which can be created person.
PersonData(String, String, LocalDate) - Constructor for record class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonData
Creates an instance of a PersonData record class.
personGetDatabaseError - Static variable in exception class cz.cuni.kubinja.hospitalsystem.database.DatabaseException
Failure of querying person from database error message
PersonKinds - Enum Class in cz.cuni.kubinja.hospitalsystem.personnel.util
Enumerates all person types.
PersonnelMenu - Interface in cz.cuni.kubinja.hospitalsystem.UI
Denotes what basic operations should every menu providing operation with person should implement.
prefixSize - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Size of the prefix in calendar
printAndWait(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Prints text and wait for the confirmation action from the user.
printAndWait(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Prints text and wait for the confirmation action from the user.
printAndWait(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Prints text and wait for the confirmation action from the user.
printAndWait(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Prints text and wait for the confirmation action from the user.
printAndWait(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Prints text and wait for the confirmation action from the user.
printAndWait(String) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Prints text and wait for the confirmation action from the user.
printMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
 
printMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
 
printMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
 
printMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
 
printMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
 
printMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
 
printMenu() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.Page
Shows menu options in terminal.
processMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
 
processMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
 
processMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
 
processMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
 
processMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
 
processMenu() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
 
processMenu() - Method in interface cz.cuni.kubinja.hospitalsystem.UI.Page
Processes the user option based on page menu.
processPacketStatus(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes packet status and prints the resolved status.
processPacketStatus(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes packet status and prints the resolved status.
processPacketStatus(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes packet status and prints the resolved status.
processPacketStatus(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes packet status and prints the resolved status.
processPacketStatus(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes packet status and prints the resolved status.
processPacketStatus(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes packet status and prints the resolved status.
processPacketStatusInSilence(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes packet status and prints the status if the API request was not successful.
processPacketStatusInSilence(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Processes packet status and prints the status if the API request was not successful.
processPacketStatusInSilence(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Processes packet status and prints the status if the API request was not successful.
processPacketStatusInSilence(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Processes packet status and prints the status if the API request was not successful.
processPacketStatusInSilence(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Processes packet status and prints the status if the API request was not successful.
processPacketStatusInSilence(GeneralPacket) - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Processes packet status and prints the status if the API request was not successful.

R

ReportsMenu - Class in cz.cuni.kubinja.hospitalsystem.UI
Menu page containing options connected with data reports.
ReportsMenu(Hospital, Scanner) - Constructor for class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Creates report menu page.
resolveStatus() - Method in class cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket
Returns information message about the successfulness of the process.
RUN - Enum constant in enum class cz.cuni.kubinja.hospitalsystem.UI.UIState
UI should be running.

S

scanner - Variable in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Scanner pointing to the input data
scanner - Variable in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Scanner pointing to the input data
scanner - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Scanner pointing to the input data
scanner - Variable in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Scanner pointing to the input data
scanner - Variable in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Scanner pointing to the input data
scanner - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Scanner pointing to the input data
showAllForPersonnel(PersonKinds) - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input data from scanner and shows appointment for the personnel with the provided ID and kind.
showCalendar() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Prints whole calendar for the hospital.
showDepartmentCalendar() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Processes input data from scanner and based on provided department shows calendar.
size() - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Returns number of appointments in the calendar.
size() - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Returns number of appointments that are planned in the department.
sizeOfSlot - Static variable in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Size of the atomic time slot
specialization() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorDetails
Returns the value of the specialization record component.
startAtHalves(LocalDateTime) - Static method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Checks whether the time is in the opening hours and if satisfy alignment (*:30, *:00).
starTime() - Method in record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Returns the value of the starTime record component.
startTime - Variable in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
Starting time of the appointment
state - Variable in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
State in which menu page is
state - Variable in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
State in which menu page is
state - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
State in which menu page is
state - Variable in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
State in which menu page is
state - Variable in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
State in which menu page is
state - Variable in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
State in which menu page is
statistics() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Computes and prints statistics about hospital, patients, doctors and appointments.
successful - Variable in class cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket
Denotes whether the API request connected to the packet was successful
successfulPacket - Static variable in class cz.cuni.kubinja.hospitalsystem.packet.GeneralPacket.Msg
Informative message denoting that the API request connected to the packet was successful.

T

timeCollisionWIthDoctor - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Doctor has already another appointment in this time error message
timeCollisionWithPatient - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Patient has already another appointment in this time error message
timeIsValid(LocalDateTime, LocalDateTime) - Static method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
Decided whether the starting and ending time of appointment satisfy requirements such as: minimal length, opening hours, correct aligning etc.
TOP - Enum constant in enum class cz.cuni.kubinja.hospitalsystem.calendar.util.Parts
Top part of graphical calendar representation
toShort - Static variable in exception class cz.cuni.kubinja.hospitalsystem.calendar.CalendarException
Appointment does not meet the requirement of minimal time error message
toString() - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Appointment
 
toString() - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Calendar
 
toString() - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Returns string representation of department calendar.
toString() - Method in record class cz.cuni.kubinja.hospitalsystem.calendar.util.AppointmentData
Returns a string representation of this record class.
toString() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Doctor
 
toString() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Patient
 
toString() - Method in class cz.cuni.kubinja.hospitalsystem.personnel.Person
 
toString() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorData
Returns a string representation of this record class.
toString() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.DoctorDetails
Returns a string representation of this record class.
toString() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientData
Returns a string representation of this record class.
toString() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PatientsDetails
Returns a string representation of this record class.
toString() - Method in record class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonData
Returns a string representation of this record class.
toString(boolean) - Method in class cz.cuni.kubinja.hospitalsystem.calendar.Department
Returns string representation of department calendar.

U

UIState - Enum Class in cz.cuni.kubinja.hospitalsystem.UI
Denotes the state in which the UI should be.
unableToPrepareExportsDirectoryErrMsg - Static variable in class cz.cuni.kubinja.hospitalsystem.util.ExportsUtil
Exception message which denotes that while exporting was unsuccessfully created export directory
updateAppointment(Appointment) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Updates information about existing appointment.
updateAppointment(Appointment) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Updates information about appointment with provided id and based on provided new data.
updateDoctor(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Updates doctor information inside the database.
updateDoctor(Doctor) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Updates information about doctor with provided id and based on provided new data.
updatePatient(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.database.Database
Updates patient data inside the database.
updatePatient(Patient) - Method in class cz.cuni.kubinja.hospitalsystem.Hospital
Updates information about patient with provided id and based on provided new data.
userCancel - Static variable in exception class cz.cuni.kubinja.hospitalsystem.UI.CancelException
User did not comply with the process of inputting data and wanted to forcefully exit

V

valueOf(String) - Static method in enum class cz.cuni.kubinja.hospitalsystem.calendar.util.Parts
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonKinds
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cz.cuni.kubinja.hospitalsystem.UI.UIState
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cz.cuni.kubinja.hospitalsystem.calendar.util.Parts
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cz.cuni.kubinja.hospitalsystem.personnel.util.PersonKinds
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cz.cuni.kubinja.hospitalsystem.UI.UIState
Returns an array containing the constants of this enum class, in the order they are declared.

W

waitForEnter() - Method in class cz.cuni.kubinja.hospitalsystem.UI.AppointmentMenu
Show waiting text and prompts user into pressing any key.
waitForEnter() - Method in class cz.cuni.kubinja.hospitalsystem.UI.DoctorMenu
Show waiting text and prompts user into pressing any key.
waitForEnter() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ExportMenu
Show waiting text and prompts user into pressing any key.
waitForEnter() - Method in class cz.cuni.kubinja.hospitalsystem.UI.MainMenu
Show waiting text and prompts user into pressing any key.
waitForEnter() - Method in class cz.cuni.kubinja.hospitalsystem.UI.PatientMenu
Show waiting text and prompts user into pressing any key.
waitForEnter() - Method in class cz.cuni.kubinja.hospitalsystem.UI.ReportsMenu
Show waiting text and prompts user into pressing any key.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form