Class SlotEditTask

  • All Implemented Interfaces:
    Callable<Slot>

    public final class SlotEditTask
    extends Object
    implements Callable<Slot>
    Timer Task for a slot (Manage a lock the time the user fill the form
    Author:
    Laurent Payen
    • Constructor Detail

      • SlotEditTask

        public SlotEditTask​(int nIdSlot,
                            int nbPlacesTaken)
    • Method Detail

      • getNbPlacesTaken

        public int getNbPlacesTaken()
        Get the number of places potentially taken
        Returns:
        the number of places
      • setNbPlacesTaken

        public void setNbPlacesTaken​(int nbPlacesTaken)
        Set the number of places potentially taken
        Parameters:
        nbPlacesTaken -
      • getIdSlot

        public int getIdSlot()
        Get the id of the slot
        Returns:
        the id of the slot
      • setIdSlot

        public void setIdSlot​(int nIdSlot)
        Set the id of the slot
        Parameters:
        nIdSlot - the id of the slot