public final class Slot extends Object implements Serializable
Constructor and Description |
---|
Slot() |
Modifier and Type | Method and Description |
---|---|
LocalDate |
getDate()
Get the date of the slot
|
LocalDateTime |
getEndingDateTime()
Get the ending date of the slot
|
LocalTime |
getEndingTime()
Get the ending time of the slot
|
Timestamp |
getEndingTimestampDate()
Get the ending date of the slot
|
int |
getIdForm()
Get the Form Id the slot belongs to
|
int |
getIdSlot()
Get the id of the slot
|
boolean |
getIsOpen()
Indicate if the slot is open or not
|
boolean |
getIsPassed()
Indicate if the slot is passed or not
|
boolean |
getIsSpecific()
Indicate if the slot is specific or not
|
int |
getMaxCapacity()
Get the maximum capacity of the slot
|
int |
getNbPlacesTaken()
Get the nb places taken on the slot
|
int |
getNbPotentialRemainingPlaces()
Get the potential remaining places on the slot
|
int |
getNbRemainingPlaces()
Get number of remaining places of the slot
|
LocalDateTime |
getStartingDateTime()
Get the starting date of the slot
|
LocalTime |
getStartingTime()
Get the starting time of the slot
|
Timestamp |
getStartingTimestampDate()
Get the starting date of the slot
|
void |
setDate(LocalDate date)
Set the date of the slot
|
void |
setEndingDateTime(LocalDateTime endingDateTime)
Set the ending date of the slot
|
void |
setEndingTime(LocalTime endingTime)
Set the ending time of the slot
|
void |
setEndingTimeStampDate(Timestamp endingTimeStampDate)
Set the ending date of the slot
|
void |
setIdForm(int nIdForm)
Set the Form Id the Slot belongs to
|
void |
setIdSlot(int nIdSlot)
Set the id of the slot
|
void |
setIsOpen(boolean bIsOpen)
Set the boolean open value of the slot
|
void |
setIsPassed(boolean bIsPassed)
Set the boolean passed value of the slot
|
void |
setIsSpecific(boolean bIsSpecific)
Set the boolean specific value of the slot
|
void |
setMaxCapacity(int nMaxCapacity)
Set the maximum capacity of the slot
|
void |
setNbPlacestaken(int nNbPlacestaken)
Set the number of places taken on the slot
|
void |
setNbPotentialRemainingPlaces(int nNbPotentialRemainingPlaces)
Set the potential number of remaining places on the slot
|
void |
setNbRemainingPlaces(int nNbRemainingPlaces)
Set the number of remaining places of the slot
|
void |
setStartingDateTime(LocalDateTime startingDateTime)
Set the starting date of the slot
|
void |
setStartingTime(LocalTime startingTime)
Set the starting time of the slot
|
void |
setStartingTimeStampDate(Timestamp startingTimeStampDate)
Set the starting date of the slot
|
public int getIdSlot()
public LocalDate getDate()
public void setDate(LocalDate date)
date
- the date to setpublic LocalTime getStartingTime()
public void setStartingTime(LocalTime startingTime)
startingTime
- the starting time to setpublic LocalTime getEndingTime()
public void setEndingTime(LocalTime endingTime)
endingTime
- the ending time to setpublic void setIdSlot(int nIdSlot)
nIdSlot
- the id to setpublic LocalDateTime getStartingDateTime()
public Timestamp getStartingTimestampDate()
public void setStartingDateTime(LocalDateTime startingDateTime)
startingDateTime
- the starting date to setpublic void setStartingTimeStampDate(Timestamp startingTimeStampDate)
startingTimeStampDate
- the starting date to set (in Timestamp format)public LocalDateTime getEndingDateTime()
public Timestamp getEndingTimestampDate()
public void setEndingDateTime(LocalDateTime endingDateTime)
endingDateTime
- the ending date of the slot (in LocalDateTime format)public void setEndingTimeStampDate(Timestamp endingTimeStampDate)
endingTimeStampDate
- the ending date of the slot (in Timestamp format)public boolean getIsOpen()
public void setIsOpen(boolean bIsOpen)
bIsOpen
- the boolean open value to setpublic boolean getIsSpecific()
public void setIsSpecific(boolean bIsSpecific)
bIsSpecific
- the boolean open value to setpublic boolean getIsPassed()
public void setIsPassed(boolean bIsPassed)
bIsSpecific
- the boolean open value to setpublic int getNbRemainingPlaces()
public void setNbRemainingPlaces(int nNbRemainingPlaces)
nNbRemainingPlaces
- the number of remaining placespublic int getNbPotentialRemainingPlaces()
public void setNbPotentialRemainingPlaces(int nNbPotentialRemainingPlaces)
nNbPotentialRemainingPlaces
- the number to setpublic int getNbPlacesTaken()
public void setNbPlacestaken(int nNbPlacestaken)
nNbPlacesTaken
- the number to setpublic int getMaxCapacity()
public void setMaxCapacity(int nMaxCapacity)
nMaxCapacity
- the maximum capacity to setpublic int getIdForm()
public void setIdForm(int nIdForm)
nIdForm
- the Form Id to setCopyright © 2020 City of Paris. All rights reserved.