public class Appointment extends User implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
APPOINTMENT_RESOURCE_TYPE
Appointment resource type
|
Constructor and Description |
---|
Appointment() |
Modifier and Type | Method and Description |
---|---|
String |
getAdminUserCreate()
get the admin user who created the appointment (if exists)
|
Timestamp |
getAppointmentTakenSqlDate()
Get the date appointment taken (in sql date format)
|
LocalDateTime |
getDateAppointmentTaken()
Returns the DateAppointmentTaken
|
int |
getIdActionCancelled()
Get the id for the cancelled appointment
|
int |
getIdAdminUser()
get the admin user assigned to the appointment
|
int |
getIdAppointment()
Get the Appointment Id
|
int |
getIdSlot()
Get the Slot Id of the Appointment
|
int |
getIdUser()
Get the User Id of the Appointment
|
boolean |
getIsCancelled()
Get if the appointment is cancelled
|
int |
getNbPlaces()
Get the number of places of the appointment
|
int |
getNotification()
Get the rank for the notification (0 = no notification)
|
String |
getReference()
Get the reference of the appointment
|
Slot |
getSlot()
Get the slot of the appointment
|
User |
getUser()
Get the user of the appointment
|
void |
setAdminUserCreate(String strAdminUser)
set admin user id who created the appointment
|
void |
setAppointmentTakenSqlDate(Timestamp dateAppointmentTaken)
Set the date appointment taken (in sql date format)
|
void |
setDateAppointmentTaken(LocalDateTime dateAppointmentTaken)
Sets the DateAppointmentTaken
|
void |
setIdActionCancelled(int nIdActionCancelled)
Set the id for the cancelled action
|
void |
setIdAdminUser(int nIdAdminUser)
set admin user id assigned to the appointment
|
void |
setIdAppointment(int nIdAppointment)
Set the Appointment Id
|
void |
setIdSlot(int nIdSlot)
Set the Slot Id of the Appointment
|
void |
setIdUser(int nIdUser)
Set the User Id of the Appointment
|
void |
setIsCancelled(boolean bIsCancelled)
Set if the appointment is cancelled
|
void |
setNbPlaces(int nNbPlaces)
Set the number of places for the appointment
|
void |
setNotification(int notification)
Set the rank for the notification
|
void |
setReference(String strReference)
Set the reference of the appointment
|
void |
setSlot(Slot slot)
Set the slot of the appointment
|
void |
setUser(User user)
Set the user of the appointment
|
getAppointments, getEmail, getFirstName, getGuid, getLastName, getPhoneNumber, setAppointments, setEmail, setFirstName, setGuid, setLastName, setPhoneNumber
public static final String APPOINTMENT_RESOURCE_TYPE
public String getReference()
public void setReference(String strReference)
strReference
- the reference to setpublic int getNbPlaces()
public void setNbPlaces(int nNbPlaces)
nNbPlaces
- the number of places to setpublic boolean getIsCancelled()
public void setIsCancelled(boolean bIsCancelled)
bIsCancelled
- the boolean value to setpublic int getIdActionCancelled()
public void setIdActionCancelled(int nIdActionCancelled)
nIdActionCancelled
- the id to setpublic int getNotification()
public void setNotification(int notification)
notification
- the rank (default : 0, no notification)public int getIdAppointment()
public void setIdAppointment(int nIdAppointment)
nIdAppointment
- the Appointment Id to setpublic int getIdUser()
public void setIdUser(int nIdUser)
public int getIdAdminUser()
public void setIdAdminUser(int nIdAdminUser)
nIdAdminUser
- public String getAdminUserCreate()
public void setAdminUserCreate(String strAdminUser)
strAdminUser
- public int getIdSlot()
public void setIdSlot(int nIdSlot)
nIdSlot
- the Slot Id of the Appointmentpublic Slot getSlot()
public void setSlot(Slot slot)
slot
- the slot to setpublic User getUser()
public void setUser(User user)
user
- the userpublic LocalDateTime getDateAppointmentTaken()
public void setDateAppointmentTaken(LocalDateTime dateAppointmentTaken)
dateAppointmentTaken
- The DateAppointmentTakenpublic Timestamp getAppointmentTakenSqlDate()
public void setAppointmentTakenSqlDate(Timestamp dateAppointmentTaken)
endingValidityDate
- The DateAppointmentTaken to set (in sql Date format)Copyright © 2020 City of Paris. All rights reserved.