public class CalendarAppointmentResourceDTO extends Object implements Serializable, Comparable<CalendarAppointmentResourceDTO>
Constructor and Description |
---|
CalendarAppointmentResourceDTO(int nIdApppointment,
int nStartingHour,
int nStartingMinute,
int nEndingHour,
int nEndingMinute,
String appointmentDescription,
int nIdForm)
Creates a new calendar appointment resource DTO
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CalendarAppointmentResourceDTO o) |
boolean |
equals(Object o) |
String |
getAppointmentDescription()
Get the description of the appointment
|
int |
getDuration()
Get the duration of the appointment in minutes
|
int |
getEndingHour()
Get the ending hour of the appointment
|
int |
getEndingMinute()
Get the ending minute of the appointment
|
int |
getIdApppointment()
Get the id of the associated appointment
|
int |
getIdForm()
Get the id of the associated formulaire
|
int |
getStartingHour()
Get the starting hour of the appointment
|
int |
getStartingMinute()
Get the starting minute of the appointment
|
int |
hashCode() |
void |
setAppointmentDescription(String appointmentDescription)
Set the description of the appointment
|
void |
setEndingHour(int nEndingHour)
Set the ending hour of the appointment
|
void |
setEndingMinute(int nEndingMinute)
Set the ending minute of the appointment
|
void |
setIdApppointment(int nIdApppointment)
Set the id of the associated appointment
|
void |
setIdForm(int nIdForm)
Set the id of the associated form
|
void |
setStartingHour(int nStartingHour)
Set the starting hour of the appointment
|
void |
setStartingMinute(int nStartingMinute)
Get the starting minute of the appointment
|
public CalendarAppointmentResourceDTO(int nIdApppointment, int nStartingHour, int nStartingMinute, int nEndingHour, int nEndingMinute, String appointmentDescription, int nIdForm)
nIdApppointment
- The id of the appointmentnStartingHour
- The starting hournStartingMinute
- The starting minutenEndingHour
- The ending hournEndingMinute
- The ending minuteappointmentDescription
- The description of the appointmentnIdForm
- The id of the formpublic int getIdApppointment()
public void setIdApppointment(int nIdApppointment)
nIdApppointment
- The id of the associated appointmentpublic int getStartingHour()
public void setStartingHour(int nStartingHour)
nStartingHour
- The starting hour of the appointmentpublic int getStartingMinute()
public void setStartingMinute(int nStartingMinute)
nStartingMinute
- The starting minute of the appointmentpublic int getEndingHour()
public void setEndingHour(int nEndingHour)
nEndingHour
- The ending hour of the appointmentpublic int getEndingMinute()
public void setEndingMinute(int nEndingMinute)
nEndingMinute
- The ending minute of the appointmentpublic int getDuration()
public String getAppointmentDescription()
public void setAppointmentDescription(String appointmentDescription)
appointmentDescription
- The description of the appointmentpublic int getIdForm()
public void setIdForm(int nIdForm)
nIdApppointment
- The id of the associated formpublic int compareTo(CalendarAppointmentResourceDTO o)
compareTo
in interface Comparable<CalendarAppointmentResourceDTO>
Copyright © 2019 City of Paris. All rights reserved.