Class AppointmentSlotDataObject

java.lang.Object
fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
fr.paris.lutece.plugins.elasticdata.modules.appointment.business.AppointmentSlotDataObject
All Implemented Interfaces:
fr.paris.lutece.plugins.elasticdata.business.DataObject

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

    • AppointmentSlotDataObject

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

    • getStartingDateTime

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

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

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

      public void setEndingDateTime(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 String getNameInstance()
      Returns the NameInstance
      Returns:
      The NameInstance
    • setNameInstance

      public void setNameInstance(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 LocalTime getTimeStartingDateTime()
      Returns the TimeStartingDateTime
      Returns:
      The TimeStartingDateTime
    • setTimeStartingDateTime

      public void setTimeStartingDateTime(LocalTime timeStartingDateTime)
      Sets the TimeStartingDateTime
      Parameters:
      timeStartingDateTime - The TimeStartingDateTime