Class AppointmentSlotDataObject

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.elasticdata.business.DataObject

    public class AppointmentSlotDataObject
    extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
    • Constructor Summary

      Constructors 
      Constructor Description
      AppointmentSlotDataObject​(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO appointmentFormDto, fr.paris.lutece.plugins.appointment.business.slot.Slot appointmentSlot, java.lang.String instanceName, fr.paris.lutece.plugins.appointment.business.category.Category category)
      Constructor with Appointment
    • Constructor Detail

      • AppointmentSlotDataObject

        public AppointmentSlotDataObject​(fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO appointmentFormDto,
                                         fr.paris.lutece.plugins.appointment.business.slot.Slot appointmentSlot,
                                         java.lang.String instanceName,
                                         fr.paris.lutece.plugins.appointment.business.category.Category category)
        Constructor with Appointment
        Parameters:
        demand - The appointment
    • Method Detail

      • getStartingDateTime

        public java.util.Date getStartingDateTime()
        Returns the StartingDateTime
        Returns:
        The StartingDateTime
      • setStartingDateTime

        public void setStartingDateTime​(java.util.Date dateStartingDateTime)
        Sets the StartingDateTime
        Parameters:
        dateStartingDateTime - The StartingDateTime
      • getEndingDateTime

        public java.util.Date getEndingDateTime()
        Returns the EndingDateTime
        Returns:
        The EndingDateTime
      • setEndingDateTime

        public void setEndingDateTime​(java.util.Date dateEndingDateTime)
        Sets the EndingDateTime
        Parameters:
        dateEndingDateTime - The EndingDateTime
      • getDuration

        public long getDuration()
        Returns the Duration
        Returns:
        The Duration
      • setDuration

        public void setDuration​(long lDuration)
        Sets the Duration
        Parameters:
        lDuration - The Duration
      • getMaxCapacity

        public int getMaxCapacity()
        Returns the MaxCapacity
        Returns:
        The MaxCapacity
      • setMaxCapacity

        public void setMaxCapacity​(int nMaxCapacity)
        Sets the MaxCapacity
        Parameters:
        nMaxCapacity - The MaxCapacity
      • getNbRemainingPlaces

        public int getNbRemainingPlaces()
        Returns the NbRemainingPlaces
        Returns:
        The NbRemainingPlaces
      • setNbRemainingPlaces

        public void setNbRemainingPlaces​(int nNbRemainingPlaces)
        Sets the NbRemainingPlaces
        Parameters:
        nNbRemainingPlaces - The NbRemainingPlaces
      • getNameInstance

        public java.lang.String getNameInstance()
        Returns the NameInstance
        Returns:
        The NameInstance
      • setNameInstance

        public void setNameInstance​(java.lang.String strNameInstance)
        Sets the NameInstance
        Parameters:
        strNameInstance - The NameInstance
      • getAppointmentForm

        public AppointmentForm getAppointmentForm()
        Returns the AppointmentForm
        Returns:
        The AppointmentForm
      • setAppointmentForm

        public void setAppointmentForm​(AppointmentForm appointmentForm)
        Sets the AppointmentForm
        Parameters:
        appointmentForm - The AppointmentForm
      • getNbrPlacesTaken

        public int getNbrPlacesTaken()
        Returns the nbrPlacesTaken
        Returns:
        The nbrPlacesTaken
      • setNbrPlacesTaken

        public void setNbrPlacesTaken​(int nbrPlacesTaken)
        Sets the nbrPlacesTaken
        Parameters:
        nbrPlacesTaken - The nbrPlacesTaken
      • getIsOpen

        public boolean getIsOpen()
        Returns the IsOpen
        Returns:
        The IsOpen
      • setIsOpen

        public void setIsOpen​(boolean bIsOpen)
        Sets the IsOpen
        Parameters:
        bIsOpen - The IsOpen
      • getTimeStartingDateTime

        public java.time.LocalTime getTimeStartingDateTime()
        Returns the TimeStartingDateTime
        Returns:
        The TimeStartingDateTime
      • setTimeStartingDateTime

        public void setTimeStartingDateTime​(java.time.LocalTime timeStartingDateTime)
        Sets the TimeStartingDateTime
        Parameters:
        timeStartingDateTime - The TimeStartingDateTime