Class WorkingDay
java.lang.Object
fr.paris.lutece.plugins.appointment.business.planning.WorkingDay
- All Implemented Interfaces:
Serializable
Business class of the working day
- Author:
- Laurent Payen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the day of week of the working dayintGet the id of the rule of the reservationintGet the id of the working dayGet the time slots of the working dayvoidsetDayOfWeek(int nDayOfWeek) Set the day of week of the working dayvoidsetIdReservationRule(int nIdReservationRule) Set the id of the rule of the reservationvoidsetIdWorkingDay(int nIdWorkingDay) Set the id of the working dayvoidsetListTimeSlot(List<TimeSlot> listTimeSlots) Set the time slots of the working day
-
Constructor Details
-
WorkingDay
public WorkingDay()
-
-
Method Details
-
getIdWorkingDay
public int getIdWorkingDay()Get the id of the working day- Returns:
- the id of the working day
-
setIdWorkingDay
public void setIdWorkingDay(int nIdWorkingDay) Set the id of the working day- Parameters:
nIdWorkingDay- the id to set
-
getDayOfWeek
public int getDayOfWeek()Get the day of week of the working day- Returns:
- the day of week
-
setDayOfWeek
public void setDayOfWeek(int nDayOfWeek) Set the day of week of the working day- Parameters:
nDayOfWeek- the day of week to set
-
getIdReservationRule
public int getIdReservationRule()Get the id of the rule of the reservation- Returns:
- the id of the rule of the reservation
-
setIdReservationRule
public void setIdReservationRule(int nIdReservationRule) Set the id of the rule of the reservation- Parameters:
nIdReservationRule- the id to set
-
getListTimeSlot
Get the time slots of the working day- Returns:
- the list of the time slots of the working day
-
setListTimeSlot
Set the time slots of the working day- Parameters:
listTimeSlots- the list of time slots to set
-