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
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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppointmentFormgetAppointmentForm()Returns the AppointmentFormlonggetDuration()Returns the Durationjava.util.DategetEndingDateTime()Returns the EndingDateTimebooleangetIsOpen()Returns the IsOpenintgetMaxCapacity()Returns the MaxCapacityjava.lang.StringgetNameInstance()Returns the NameInstanceintgetNbRemainingPlaces()Returns the NbRemainingPlacesintgetNbrPlacesTaken()Returns the nbrPlacesTakenjava.util.DategetStartingDateTime()Returns the StartingDateTimejava.time.LocalTimegetTimeStartingDateTime()Returns the TimeStartingDateTimevoidsetAppointmentForm(AppointmentForm appointmentForm)Sets the AppointmentFormvoidsetDuration(long lDuration)Sets the DurationvoidsetEndingDateTime(java.util.Date dateEndingDateTime)Sets the EndingDateTimevoidsetIsOpen(boolean bIsOpen)Sets the IsOpenvoidsetMaxCapacity(int nMaxCapacity)Sets the MaxCapacityvoidsetNameInstance(java.lang.String strNameInstance)Sets the NameInstancevoidsetNbRemainingPlaces(int nNbRemainingPlaces)Sets the NbRemainingPlacesvoidsetNbrPlacesTaken(int nbrPlacesTaken)Sets the nbrPlacesTakenvoidsetStartingDateTime(java.util.Date dateStartingDateTime)Sets the StartingDateTimevoidsetTimeStartingDateTime(java.time.LocalTime timeStartingDateTime)Sets the TimeStartingDateTime-
Methods 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 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
-
-