public class Appointment extends User
| Modifier and Type | Field and Description |
|---|---|
static String |
APPOINTMENT_RESOURCE_TYPE
Appointment resource type
|
| Constructor and Description |
|---|
Appointment() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllSlot(List<Slot> listSlot) |
void |
addSlot(Slot slot) |
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 |
getIdActionReported()
Get the id for the reported appointment
|
int |
getIdAdminUser()
get the admin user assigned to the appointment
|
int |
getIdAppointment()
Get the Appointment Id
|
boolean |
getIsCancelled()
Get if the appointment is cancelled
|
boolean |
getIsSurbooked()
Get if the appointment is surbooked
|
List<AppointmentSlot> |
getListAppointmentSlot()
Get the list of appointment slot
|
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
|
List<Slot> |
getSlot()
Get the list 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 |
setIdActionReported(int nIdActionReported)
Set the id for the reported action
|
void |
setIdAdminUser(int nIdAdminUser)
set admin user id assigned to the appointment
|
void |
setIdAppointment(int nIdAppointment)
Set the Appointment Id
|
void |
setIsCancelled(boolean bIsCancelled)
Set if the appointment is cancelled
|
void |
setIsSurbooked(boolean bIsSurbooked)
Set if the appointment is surbooked
|
void |
setListAppointmentSlot(List<AppointmentSlot> listAppointmentSlot)
Set the list of listAppointmentSlot
|
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(List<Slot> listSlot)
Set the listslot of the appointment
|
void |
setUser(User user)
Set the user of the appointment
|
getAppointments, getEmail, getFirstName, getGuid, getIdUser, getLastName, getPhoneNumber, setAppointments, setEmail, setFirstName, setGuid, setIdUser, setLastName, setPhoneNumberpublic 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 getIdActionReported()
public void setIdActionReported(int nIdActionReported)
nIdActionReported - 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 getIdAdminUser()
public void setIdAdminUser(int nIdAdminUser)
nIdAdminUser - public String getAdminUserCreate()
public void setAdminUserCreate(String strAdminUser)
strAdminUser - public void setSlot(List<Slot> listSlot)
listSlot - the slot to setpublic void addSlot(Slot slot)
public User getUser()
public void setUser(User user)
user - the userpublic List<AppointmentSlot> getListAppointmentSlot()
public void setListAppointmentSlot(List<AppointmentSlot> listAppointmentSlot)
listAppointmentSlot - the appointment slot to setpublic 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)public boolean getIsSurbooked()
public void setIsSurbooked(boolean bIsSurbooked)
bIsSurbooked - the boolean value to setCopyright © 2022 City of Paris. All rights reserved.