Class AppointmentHistoryDataObject

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.elasticdata.business.DataObject

    public class AppointmentHistoryDataObject
    extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
    FormResponseDataObject
    • Constructor Detail

      • AppointmentHistoryDataObject

        public AppointmentHistoryDataObject​(int resourceHistoryId,
                                            AppointmentForm appointmentForm)
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the Appointment id
        Specified by:
        getId in interface fr.paris.lutece.plugins.elasticdata.business.DataObject
        Overrides:
        getId in class fr.paris.lutece.plugins.elasticdata.business.AbstractDataObject
        Returns:
        The Appointment id
      • setId

        public void setId​(java.lang.String strId)
        Sets the Appointment id
        Specified by:
        setId in interface fr.paris.lutece.plugins.elasticdata.business.DataObject
        Overrides:
        setId in class fr.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