Class ReservationRule

    • Constructor Detail

      • ReservationRule

        public ReservationRule()
    • Method Detail

      • 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
      • getName

        public String getName()
        Returns the Name
        Returns:
        The Name
      • setName

        public void setName​(String strName)
        Sets the Name
        Parameters:
        strName - The Name
      • getDescriptionRule

        public String getDescriptionRule()
        Returns the Description
        Returns:
        The Description
      • setDescriptionRule

        public void setDescriptionRule​(String strDescription)
        Sets the Description
        Parameters:
        strDescription - The Description
      • getColor

        public String getColor()
        Returns the Color
        Returns:
        The Color
      • setColor

        public void setColor​(String strColor)
        Sets the Color
        Parameters:
        strColor - The Color
      • getEnable

        public boolean getEnable()
        Returns the Enable
        Returns:
        The Enable
      • setEnable

        public void setEnable​(boolean bEnable)
        Sets the Enable
        Parameters:
        bEnable - The Enable
      • getMaxCapacityPerSlot

        public int getMaxCapacityPerSlot()
        Get the maximum capacity for a slot
        Returns:
        the maximum capacity for a slot
      • setMaxCapacityPerSlot

        public void setMaxCapacityPerSlot​(int nMaxCapacityPerSlot)
        Set the maximum capacity for a slot
        Parameters:
        nMaxCapacityPerSlot - the maximum capacity for a slot
      • getMaxPeoplePerAppointment

        public int getMaxPeoplePerAppointment()
        Get the maximum number of people authorized for an appointment
        Returns:
        the maximum number of people authorized for an appointment
      • setMaxPeoplePerAppointment

        public void setMaxPeoplePerAppointment​(int nMaxPeoplePerAppointment)
        Set the maximum number of people authorized for an appointment
        Parameters:
        nMaxPeoplePerAppointment - the maximum of people to set
      • getDurationAppointments

        public int getDurationAppointments()
        Returns the duration of an appointment
        Returns:
        The duration of an appointment
      • setDurationAppointments

        public void setDurationAppointments​(int nDurationAppointments)
        Sets the duration of an appointment
        Parameters:
        nDurationAppointments - The Duration of an Appointments
      • getIdForm

        public int getIdForm()
        Get the Form Id the Reservation Rule belongs to
        Returns:
        the Form Id
      • setIdForm

        public void setIdForm​(int nIdForm)
        Set the Form Id the Reservation Rule belongs to
        Parameters:
        nIdForm - the Form Id tp set
      • getListWorkingDay

        public List<WorkingDay> getListWorkingDay()
        Get the list of the working days of the week
        Returns:
        the list of the working days for the week
      • setListWorkingDay

        public void setListWorkingDay​(List<WorkingDay> listWorkingDays)
        Set the working days for the week
        Parameters:
        _listWorkingDays - the list o f working days to set