fr.paris.lutece.plugins.appointment.business
Class AppointmentDTO

java.lang.Object
  extended by fr.paris.lutece.plugins.appointment.business.Appointment
      extended by fr.paris.lutece.plugins.appointment.business.AppointmentDTO
All Implemented Interfaces:
Serializable

public class AppointmentDTO
extends Appointment

DTO for appointments

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.plugins.appointment.business.Appointment
APPOINTMENT_RESOURCE_TYPE, STATUS_NOT_VALIDATED, STATUS_REJECTED, STATUS_VALIDATED
 
Constructor Summary
AppointmentDTO()
          Default constructor
AppointmentDTO(Appointment appointment)
          Creates a new appointment DTO from an appointment
 
Method Summary
 AppointmentForm getAppointmentForm()
          Get the appointment form associated with this appointment
 AppointmentSlot getAppointmentSlot()
          Get the appointment slot associated with the appointment
 Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> getMapResponsesByIdEntry()
          Get the map containing an association between entries of the form and the id of the associated entry
 String getRefAppointment()
          Get the reference of the appointment
 void setAppointmentForm(AppointmentForm appointmentForm)
          Set this appointment form associated with this appointment
 void setAppointmentSlot(AppointmentSlot appointmentSlot)
          Set the appointment slot associated with the appointment
 void setMapResponsesByIdEntry(Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> mapResponsesByIdEntry)
          Set the map containing an association between entries of the form and the id of the associated entry
 
Methods inherited from class fr.paris.lutece.plugins.appointment.business.Appointment
getAuthenticationService, getDateAppointment, getEmail, getFirstName, getIdActionCancel, getIdAdminUser, getIdAppointment, getIdSlot, getIdUser, getLastName, getListResponse, getListWorkflowActions, getLocation, getStatus, setAuthenticationService, setDateAppointment, setEmail, setFirstName, setIdActionCancel, setIdAdminUser, setIdAppointment, setIdSlot, setIdUser, setLastName, setListResponse, setListWorkflowActions, setLocation, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppointmentDTO

public AppointmentDTO()
Default constructor


AppointmentDTO

public AppointmentDTO(Appointment appointment)
Creates a new appointment DTO from an appointment

Parameters:
appointment - The appointment to read data from
Method Detail

getMapResponsesByIdEntry

public Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> getMapResponsesByIdEntry()
Get the map containing an association between entries of the form and the id of the associated entry

Returns:
The map containing an association between entries of the form and the id of the associated entry

setMapResponsesByIdEntry

public void setMapResponsesByIdEntry(Map<Integer,List<fr.paris.lutece.plugins.genericattributes.business.Response>> mapResponsesByIdEntry)
Set the map containing an association between entries of the form and the id of the associated entry

Parameters:
mapResponsesByIdEntry - The map

getAppointmentSlot

public AppointmentSlot getAppointmentSlot()
Get the appointment slot associated with the appointment

Returns:
The appointment slot associated with the appointment

setAppointmentSlot

public void setAppointmentSlot(AppointmentSlot appointmentSlot)
Set the appointment slot associated with the appointment

Parameters:
appointmentSlot - The appointment slot associated with the appointment

getAppointmentForm

public AppointmentForm getAppointmentForm()
Get the appointment form associated with this appointment

Returns:
The appointment form associated with this appointment

setAppointmentForm

public void setAppointmentForm(AppointmentForm appointmentForm)
Set this appointment form associated with this appointment

Parameters:
appointmentForm - form associated with this appointment

getRefAppointment

public String getRefAppointment()
Get the reference of the appointment

Returns:
The reference of the appointment


Copyright © 2014 Mairie de Paris. All Rights Reserved.