Class WorkingDay

  • All Implemented Interfaces:
    java.io.Serializable

    public final class WorkingDay
    extends java.lang.Object
    implements java.io.Serializable
    Business class of the working day
    Author:
    Laurent Payen
    See Also:
    Serialized Form
    • Constructor Detail

      • WorkingDay

        public WorkingDay()
    • Method Detail

      • getIdWorkingDay

        public int getIdWorkingDay()
        Get the id of the working day
        Returns:
        the id of the working day
      • setIdWorkingDay

        public void setIdWorkingDay​(int nIdWorkingDay)
        Set the id of the working day
        Parameters:
        nIdWorkingDay - the id to set
      • getDayOfWeek

        public int getDayOfWeek()
        Get the day of week of the working day
        Returns:
        the day of week
      • setDayOfWeek

        public void setDayOfWeek​(int nDayOfWeek)
        Set the day of week of the working day
        Parameters:
        nDayOfWeek - the day of week to set
      • getIdReservationRule

        public int getIdReservationRule()
        Get the id of the rule of the reservation
        Returns:
        the id of the rule of the reservation
      • setIdReservationRule

        public void setIdReservationRule​(int nIdReservationRule)
        Set the id of the rule of the reservation
        Parameters:
        nIdReservationRule - the id to set
      • getListTimeSlot

        public java.util.List<TimeSlot> getListTimeSlot()
        Get the time slots of the working day
        Returns:
        the list of the time slots of the working day
      • setListTimeSlot

        public void setListTimeSlot​(java.util.List<TimeSlot> listTimeSlots)
        Set the time slots of the working day
        Parameters:
        listTimeSlots - the list of time slots to set