Class AppointmentHistoryDataObject
java.lang.Object
fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
fr.paris.lutece.plugins.elasticdata.modules.appointment.business.AppointmentHistoryDataObject
- All Implemented Interfaces:
fr.paris.lutece.plugins.elasticdata.business.DataObject
public class AppointmentHistoryDataObject
extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
FormResponseDataObject
-
Constructor Summary
ConstructorsConstructorDescriptionAppointmentHistoryDataObject(int resourceHistoryId, AppointmentForm appointmentForm) -
Method Summary
Modifier and TypeMethodDescriptionReturns the action namelongReturns the Duration between appointment date and action datelongReturns the Duration between appointment taken date and action dateReturns the AppointmentFormReturns the Appointment idgetId()Returns the Appointment idlongReturns the DurationReturns the Unit NamevoidsetActionName(String strActionName) Sets the Action NamevoidsetAppointmentDateActionDateDuration(long lAppointmentDateActionDateDuration) Sets the Duration between appointment date and action datevoidsetAppointmentDuration(long lAppointmentDuration) Sets the Duration between appointment taken date and action datevoidsetAppointmentForm(AppointmentForm appointmentForm) Sets the AppointmentFormvoidsetAppointmentId(String strAppointmentId) Sets the Appointment idvoidsetCreationDate(Timestamp dateCreation) set the creation datevoidSets the Appointment idvoidsetTaskDuration(long lTaskDuration) Sets the DurationvoidsetUnitName(String strUnitName) Sets the Unit NameMethods inherited from class fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
getDayOfWeek, getDocumentTypeName, getHour, getMonth, getParentId, getParentName, getPrefixedDayOfWeek, getPrefixedMonth, getTimestamp, setDocumentTypeName, setParentId, setParentName, setTimestamp
-
Constructor Details
-
AppointmentHistoryDataObject
-
-
Method Details
-
getId
Returns the Appointment id- Specified by:
getIdin interfacefr.paris.lutece.plugins.elasticdata.business.DataObject- Overrides:
getIdin classfr.paris.lutece.plugins.elasticdata.business.AbstractDataObject- Returns:
- The Appointment id
-
setId
Sets the Appointment id- Specified by:
setIdin interfacefr.paris.lutece.plugins.elasticdata.business.DataObject- Overrides:
setIdin classfr.paris.lutece.plugins.elasticdata.business.AbstractDataObject- Parameters:
strId- The Appointment id
-
getAppointmentId
Returns the Appointment id- Returns:
- The Appointment id
-
setAppointmentId
Sets the Appointment id- Parameters:
nAppointmentId- The Appointment id
-
getTaskDuration
public long getTaskDuration()Returns the Duration- Returns:
- The Duration
-
setTaskDuration
public void setTaskDuration(long lTaskDuration) Sets the Duration- Parameters:
lTaskDuration- The Duration
-
getAppointmentDuration
public long getAppointmentDuration()Returns the Duration between appointment taken date and action date- Returns:
- The Duration
-
setAppointmentDuration
public void setAppointmentDuration(long lAppointmentDuration) Sets the Duration between appointment taken date and action date- Parameters:
lAppointmentDuration- The Duration
-
getAppointmentDateActionDateDuration
public long getAppointmentDateActionDateDuration()Returns the Duration between appointment date and action date- Returns:
- The Duration
-
setAppointmentDateActionDateDuration
public void setAppointmentDateActionDateDuration(long lAppointmentDateActionDateDuration) Sets the Duration between appointment date and action date- Parameters:
lAppointmentDateActionDateDuration- The Duration
-
getUnitName
Returns the Unit Name- Returns:
- The Unit Name
-
setUnitName
Sets the Unit Name- Parameters:
strUnitName- The Unit Name
-
getActionName
Returns the action name- Returns:
- The Action Name
-
setActionName
Sets the Action Name- Parameters:
strActionName- The Action Name
-
getCreationDate
- Returns:
- the creation date
-
setCreationDate
set the creation date- Parameters:
dateCreation- the creation date
-
getAppointmentForm
Returns the AppointmentForm- Returns:
- The AppointmentForm
-
setAppointmentForm
Sets the AppointmentForm- Parameters:
appointmentForm- The AppointmentForm
-