Class WorkingDay
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.planning.WorkingDay
-
- All Implemented Interfaces:
java.io.Serializable
public final class WorkingDay extends java.lang.Object implements java.io.SerializableBusiness class of the working day- Author:
- Laurent Payen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkingDay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDayOfWeek()Get the day of week of the working dayintgetIdReservationRule()Get the id of the rule of the reservationintgetIdWorkingDay()Get the id of the working dayjava.util.List<TimeSlot>getListTimeSlot()Get 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(java.util.List<TimeSlot> listTimeSlots)Set the time slots of the working day
-
-
-
Method Detail
-
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
public java.util.List<TimeSlot> getListTimeSlot()
Get the time slots of the working day- Returns:
- the list of the time slots of the working day
-
setListTimeSlot
public void setListTimeSlot(java.util.List<TimeSlot> listTimeSlots)
Set the time slots of the working day- Parameters:
listTimeSlots- the list of time slots to set
-
-