public final class TimeSlot extends Object implements Serializable
Constructor and Description |
---|
TimeSlot() |
Modifier and Type | Method and Description |
---|---|
LocalDateTime |
getEndingDateTime() |
LocalTime |
getEndingTime()
Get the ending time of the time slot
|
Time |
getEndingTimeSqlTime()
Get the ending time in sql time
|
int |
getIdTimeSlot()
Get the id of the time slot
|
int |
getIdWorkingDay()
Get the working day id the time slot belongs to
|
boolean |
getIsOpen()
Indicate whether the time slot is open or not
|
int |
getMaxCapacity()
Get the maximum capacity of the slot
|
LocalDateTime |
getStartingDateTime() |
LocalTime |
getStartingTime()
Get the starting time of the time slot
|
Time |
getStartingTimeSqlTime()
Get the starting time of the time slot (in sql time)
|
void |
setEndingDateTime(LocalDateTime endingDateTime) |
void |
setEndingTime(LocalTime endingTime)
Set the ending time of the time slot
|
void |
setIdTimeSlot(int nIdTimeSlot)
Set the id of the time slot
|
void |
setIdWorkingDay(int nIdWorkingDay)
Set the working day id the time slot belongs to
|
void |
setIsOpen(boolean bIsOpen)
Set the opening boolean value of the time slot
|
void |
setMaxCapacity(int nMaxCapacity)
Set the maximum capacity of the slot
|
void |
setSqlEndingTime(Time endingTime)
Set the ending time of the time slot
|
void |
setSqlStartingTime(Time startingTime)
Set the starting time of the time slot
|
void |
setStartingDateTime(LocalDateTime startingDateTime) |
void |
setStartingTime(LocalTime startingTime)
Set the starting time of the time slot
|
public int getIdTimeSlot()
public void setIdTimeSlot(int nIdTimeSlot)
nIdTimeSlot
- the id to setpublic LocalTime getStartingTime()
public Time getStartingTimeSqlTime()
public void setStartingTime(LocalTime startingTime)
startingTime
- the starting time to setpublic void setSqlStartingTime(Time startingTime)
startingTime
- the starting time (in sql time)public LocalTime getEndingTime()
public Time getEndingTimeSqlTime()
public void setEndingTime(LocalTime endingTime)
endingTime
- the ending time to setpublic void setSqlEndingTime(Time endingTime)
endingTime
- the ending time (in sql time format)public boolean getIsOpen()
public void setIsOpen(boolean bIsOpen)
bIsOpen
- the opening boolean valuepublic int getMaxCapacity()
public void setMaxCapacity(int nMaxCapacity)
nMaxCapacity
- the maximum capacitypublic int getIdWorkingDay()
public void setIdWorkingDay(int nIdWorkingDay)
nIdWorkingDay
- the working day id to setpublic LocalDateTime getStartingDateTime()
public void setStartingDateTime(LocalDateTime startingDateTime)
public LocalDateTime getEndingDateTime()
public void setEndingDateTime(LocalDateTime endingDateTime)
Copyright © 2020 City of Paris. All rights reserved.