Class DoctorUffaPriority

java.lang.Object
org.cswteams.ms3.entity.DoctorUffaPriority

@Entity public class DoctorUffaPriority extends Object
All the information about priority levels on the queues of the doctors.
  • Constructor Details

    • DoctorUffaPriority

      public DoctorUffaPriority()
      Default constructor needed by Lombok
    • DoctorUffaPriority

      public DoctorUffaPriority(Doctor doctor)
    • DoctorUffaPriority

      public DoctorUffaPriority(Doctor doctor, Schedule schedule)
  • Method Details

    • getAssegnazioniTurnoCache

      public List<ConcreteShift> getAssegnazioniTurnoCache()
      This method returns a ConcreteShift list for the current schedule.
    • addConcreteShift

      public void addConcreteShift(ConcreteShift newConcreteShift)
      This method adds (in order) the new contrete shift to the concrete shifts list related to the referring doctor.
    • updatePriority

      public void updatePriority(PriorityQueueEnum pq)
    • updatePartialPriority

      public void updatePartialPriority(int priorityDelta, PriorityQueueEnum pq, int upperBound, int lowerBound)