fr.paris.lutece.plugins.appointment.business.calendar
Class AppointmentDay

java.lang.Object
  extended by fr.paris.lutece.plugins.appointment.business.calendar.AppointmentDay

public class AppointmentDay
extends Object

Describes a day form an appointment calendar


Constructor Summary
AppointmentDay()
           
 
Method Summary
 int getAppointmentDuration()
          Get the duration of appointments in minutes
 int getClosingHour()
          Get the closing hour of the day
 int getClosingMinutes()
          Get the closing minute of the day
 Date getDate()
          Get the date of the day
 int getIdDay()
          Get the id of the day
 int getIdForm()
          Get the id of the appointment form associated with this day
 boolean getIsOpen()
          Check if the day is an opened day or a closed day
 List<AppointmentSlot> getListSlots()
          Get the list of slots of this day, if any
 int getOpeningHour()
          Get the opening hour of the day
 int getOpeningMinutes()
          Get the opening minute of the day
 int getPeoplePerAppointment()
          Returns the number of person per appointment
 void setAppointmentDuration(int nAppointmentDuration)
          Set the duration of appointments in minutes
 void setClosingHour(int nClosingHour)
          Set the closing hour of the day
 void setClosingMinutes(int nClosingMinutes)
          Set the closing minute of the day
 void setDate(Date date)
          Set the date of the day
 void setIdDay(int nIdDay)
          Set the id of the day
 void setIdForm(int nIdForm)
          Set the id of the appointment form associated with this day
 void setIsOpen(boolean bIsOpen)
          Set this day as opened or closed
 void setListSlots(List<AppointmentSlot> listSlots)
          Set the list of slots of this day, if any
 void setOpeningHour(int nOpeningHour)
          Set the opening hour of the day
 void setOpeningMinutes(int nOpeningMinutes)
          Set the opening minute of the day
 void setPeoplePerAppointment(int nPeoplePerAppointment)
          Sets the number of person per appointment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppointmentDay

public AppointmentDay()
Method Detail

getIdDay

public int getIdDay()
Get the id of the day

Returns:
The id of the day

setIdDay

public void setIdDay(int nIdDay)
Set the id of the day

Parameters:
nIdDay - The id of the day

getIdForm

public int getIdForm()
Get the id of the appointment form associated with this day

Returns:
The id of the appointment form associated with this day

setIdForm

public void setIdForm(int nIdForm)
Set the id of the appointment form associated with this day

Parameters:
nIdForm - The id of the appointment form associated with this day

getIsOpen

public boolean getIsOpen()
Check if the day is an opened day or a closed day

Returns:
True if the day is open, false otherwise

setIsOpen

public void setIsOpen(boolean bIsOpen)
Set this day as opened or closed

Parameters:
bIsOpen - True if the day is opened, false otherwise

getDate

public Date getDate()
Get the date of the day

Returns:
The date of the day

setDate

public void setDate(Date date)
Set the date of the day

Parameters:
date - The date of the day

getOpeningHour

public int getOpeningHour()
Get the opening hour of the day

Returns:
The opening hour of the day

setOpeningHour

public void setOpeningHour(int nOpeningHour)
Set the opening hour of the day

Parameters:
nOpeningHour - The opening hour of the day

getOpeningMinutes

public int getOpeningMinutes()
Get the opening minute of the day

Returns:
The opening minute of the day

setOpeningMinutes

public void setOpeningMinutes(int nOpeningMinutes)
Set the opening minute of the day

Parameters:
nOpeningMinutes - The opening minute of the day

getClosingHour

public int getClosingHour()
Get the closing hour of the day

Returns:
The closing hour of the day

setClosingHour

public void setClosingHour(int nClosingHour)
Set the closing hour of the day

Parameters:
nClosingHour - The closing hour of the day

getClosingMinutes

public int getClosingMinutes()
Get the closing minute of the day

Returns:
The closing minute of the day

setClosingMinutes

public void setClosingMinutes(int nClosingMinutes)
Set the closing minute of the day

Parameters:
nClosingMinutes - The closing minute of the day

getAppointmentDuration

public int getAppointmentDuration()
Get the duration of appointments in minutes

Returns:
The duration of appointments in minutes

setAppointmentDuration

public void setAppointmentDuration(int nAppointmentDuration)
Set the duration of appointments in minutes

Parameters:
nAppointmentDuration - The duration of appointments in minutes

getPeoplePerAppointment

public int getPeoplePerAppointment()
Returns the number of person per appointment

Returns:
The number of person per appointment

setPeoplePerAppointment

public void setPeoplePerAppointment(int nPeoplePerAppointment)
Sets the number of person per appointment

Parameters:
nPeoplePerAppointment - The number of person per appointment

getListSlots

public List<AppointmentSlot> getListSlots()
Get the list of slots of this day, if any

Returns:
The list of slots of this day, if any

setListSlots

public void setListSlots(List<AppointmentSlot> listSlots)
Set the list of slots of this day, if any

Parameters:
listSlots - The list of slots of this day, if any


Copyright © 2014 Mairie de Paris. All Rights Reserved.