Uses of Class
cz.cuni.kubinja.hospitalsystem.packet.DataPacket
Packages that use DataPacket
Package
Description
Interactive hospital managing system using SQLite database and with command line user interface.
-
Uses of DataPacket in cz.cuni.kubinja.hospitalsystem
Methods in cz.cuni.kubinja.hospitalsystem that return DataPacketModifier and TypeMethodDescriptionHospital.addDoctor(DoctorData doctorData) Adds new doctor into the system.Hospital.addPatient(PatientData patientData) Adds new patient into hospital system.Hospital.allDoctors()Returns list of information about every doctor in the system.Hospital.allPatients()Returns list of information about every patient in the system.Hospital.getAllDoctorsWithName(String firstName, String lastName) Returns list of doctors with provided first name and last name.Hospital.getAllPatientWithName(String firstName, String lastName) Returns list of patients with the provided first name and last name.Hospital.getAppointment(int id) Returns appointment with the provided id.Hospital.getAppointmentsForPersonnel(int id, PersonKinds kind) Returns list of all appointments connected to the person with provided id and kind.Hospital.getCalendar()Returns calendar for the hospital.Hospital.getCalendarForDepartment(String department, boolean fromToday) Returns string representing calendar for the provided department.Hospital.getCalendarRepresentation(boolean fromToday) Returns list of strings representing the calendar of the whole hospital.Hospital.getDoctor(int id) Returns object representing doctor with provided id.Hospital.getPatient(int id) Returns info about patient with provided id.