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.AbstractDataObjectFormResponseDataObject
-
-
Constructor Summary
Constructors Constructor Description AppointmentHistoryDataObject(int resourceHistoryId, AppointmentForm appointmentForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActionName()Returns the action namelonggetAppointmentDateActionDateDuration()Returns the Duration between appointment date and action datelonggetAppointmentDuration()Returns the Duration between appointment taken date and action dateAppointmentFormgetAppointmentForm()Returns the AppointmentFormjava.lang.StringgetAppointmentId()Returns the Appointment idjava.sql.TimestampgetCreationDate()java.lang.StringgetId()Returns the Appointment idlonggetTaskDuration()Returns the Durationjava.lang.StringgetUnitName()Returns the Unit NamevoidsetActionName(java.lang.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(java.lang.String strAppointmentId)Sets the Appointment idvoidsetCreationDate(java.sql.Timestamp dateCreation)set the creation datevoidsetId(java.lang.String strId)Sets the Appointment idvoidsetTaskDuration(long lTaskDuration)Sets the DurationvoidsetUnitName(java.lang.String strUnitName)Sets the Unit Name
-
-
-
Constructor Detail
-
AppointmentHistoryDataObject
public AppointmentHistoryDataObject(int resourceHistoryId, AppointmentForm appointmentForm)
-
-
Method Detail
-
getId
public java.lang.String 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
public void setId(java.lang.String strId)
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
public java.lang.String getAppointmentId()
Returns the Appointment id- Returns:
- The Appointment id
-
setAppointmentId
public void setAppointmentId(java.lang.String strAppointmentId)
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
public java.lang.String getUnitName()
Returns the Unit Name- Returns:
- The Unit Name
-
setUnitName
public void setUnitName(java.lang.String strUnitName)
Sets the Unit Name- Parameters:
strUnitName- The Unit Name
-
getActionName
public java.lang.String getActionName()
Returns the action name- Returns:
- The Action Name
-
setActionName
public void setActionName(java.lang.String strActionName)
Sets the Action Name- Parameters:
strActionName- The Action Name
-
getCreationDate
public java.sql.Timestamp getCreationDate()
- Returns:
- the creation date
-
setCreationDate
public void setCreationDate(java.sql.Timestamp dateCreation)
set the creation date- Parameters:
dateCreation- the creation date
-
getAppointmentForm
public AppointmentForm getAppointmentForm()
Returns the AppointmentForm- Returns:
- The AppointmentForm
-
setAppointmentForm
public void setAppointmentForm(AppointmentForm appointmentForm)
Sets the AppointmentForm- Parameters:
appointmentForm- The AppointmentForm
-
-