Package org.cswteams.ms3.entity
Class DoctorUffaPriority
java.lang.Object
org.cswteams.ms3.entity.DoctorUffaPriority
All the information about priority levels on the queues of the doctors.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor needed by LombokDoctorUffaPriority(Doctor doctor) DoctorUffaPriority(Doctor doctor, Schedule schedule) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConcreteShift(ConcreteShift newConcreteShift) This method adds (in order) the new contrete shift to the concrete shifts list related to the referring doctor.This method returns a ConcreteShift list for the current schedule.voidupdatePartialPriority(int priorityDelta, PriorityQueueEnum pq, int upperBound, int lowerBound) void
-
Constructor Details
-
DoctorUffaPriority
public DoctorUffaPriority()Default constructor needed by Lombok -
DoctorUffaPriority
-
DoctorUffaPriority
-
-
Method Details
-
getAssegnazioniTurnoCache
This method returns a ConcreteShift list for the current schedule. -
addConcreteShift
This method adds (in order) the new contrete shift to the concrete shifts list related to the referring doctor. -
updatePriority
-
updatePartialPriority
public void updatePartialPriority(int priorityDelta, PriorityQueueEnum pq, int upperBound, int lowerBound)
-