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 Summary
ConstructorsConstructorDescriptionAppointmentSlotDataObject(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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the AppointmentFormlongReturns the DurationReturns the EndingDateTimebooleanReturns the IsOpenintReturns the MaxCapacityReturns the NameInstanceintReturns the NbRemainingPlacesintReturns the nbrPlacesTakenReturns the StartingDateTimeReturns the TimeStartingDateTimevoidsetAppointmentForm(AppointmentForm appointmentForm) Sets the AppointmentFormvoidsetDuration(long lDuration) Sets the DurationvoidsetEndingDateTime(Date dateEndingDateTime) Sets the EndingDateTimevoidsetIsOpen(boolean bIsOpen) Sets the IsOpenvoidsetMaxCapacity(int nMaxCapacity) Sets the MaxCapacityvoidsetNameInstance(String strNameInstance) Sets the NameInstancevoidsetNbRemainingPlaces(int nNbRemainingPlaces) Sets the NbRemainingPlacesvoidsetNbrPlacesTaken(int nbrPlacesTaken) Sets the nbrPlacesTakenvoidsetStartingDateTime(Date dateStartingDateTime) Sets the StartingDateTimevoidsetTimeStartingDateTime(LocalTime timeStartingDateTime) Sets the TimeStartingDateTimeMethods inherited from class fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
getDayOfWeek, getDocumentTypeName, getHour, getId, getMonth, getParentId, getParentName, getPrefixedDayOfWeek, getPrefixedMonth, getTimestamp, setDocumentTypeName, setId, setParentId, setParentName, setTimestamp
-
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
Returns the StartingDateTime- Returns:
- The StartingDateTime
-
setStartingDateTime
Sets the StartingDateTime- Parameters:
dateStartingDateTime- The StartingDateTime
-
getEndingDateTime
Returns the EndingDateTime- Returns:
- The EndingDateTime
-
setEndingDateTime
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
Returns the NameInstance- Returns:
- The NameInstance
-
setNameInstance
Sets the NameInstance- Parameters:
strNameInstance- The NameInstance
-
getAppointmentForm
Returns the AppointmentForm- Returns:
- The AppointmentForm
-
setAppointmentForm
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
Returns the TimeStartingDateTime- Returns:
- The TimeStartingDateTime
-
setTimeStartingDateTime
Sets the TimeStartingDateTime- Parameters:
timeStartingDateTime- The TimeStartingDateTime
-