Class DTOInterventionResource

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.rs1.interventionresource.DTOInterventionResource
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class DTOInterventionResource extends DynO
DTO representing an intervention resource.
Since:
18.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOInterventionResource

      public DTOInterventionResource()
  • Method Details

    • getIntervention

      public final Long getIntervention()
      Gets the intervention ID associated with this intervention resource.
      Returns:
      the intervention ID
    • setIntervention

      public final void setIntervention(Long intervention)
      Sets the intervention ID associated with this intervention resource.
      Parameters:
      intervention - the intervention ID to set
    • getResource

      public final Long getResource()
      Gets the resource associated with this intervention resource.
      Returns:
      the resource
    • setResource

      public final void setResource(Long resource)
      Sets the resource associated with this intervention resource.
      Parameters:
      resource - the resource to set
    • getSpentTime

      public final Double getSpentTime()
      Gets the amount of time spent on this intervention resource.
      Returns:
      the spent time
    • setSpentTime

      public final void setSpentTime(Double spentTime)
      Sets the amount of time spent on this intervention resource.
      Parameters:
      spentTime - the spent time to set
    • getWorkOrderOperation

      public final Long getWorkOrderOperation()
      Gets the work order operation associated with this intervention resource.
      Returns:
      the work order operation
    • setWorkOrderOperation

      public final void setWorkOrderOperation(Long workOrderOperation)
      Sets the work order operation associated with this intervention resource.
      Parameters:
      workOrderOperation - the work order operation to set
    • getWorkingHourType

      public final Long getWorkingHourType()
      Gets the working hour type associated with this intervention resource.
      Returns:
      the working hour type
    • setWorkingHourType

      public final void setWorkingHourType(Long workingHourType)
      Sets the working hour type associated with this intervention resource.
      Parameters:
      workingHourType - the working hour type to set
    • getTakeInChargeDate

      public final ZonedDateTime getTakeInChargeDate()
      Gets the date when the intervention resource was taken in charge.
      Returns:
      the take in charge date
    • setTakeInChargeDate

      public final void setTakeInChargeDate(ZonedDateTime takeInChargeDate)
      Sets the date when the intervention resource was taken in charge.
      Parameters:
      takeInChargeDate - the take in charge date to set
    • getArrivalDate

      public final ZonedDateTime getArrivalDate()
      Gets the arrival date of the intervention.
      Returns:
      the arrival date
    • setArrivalDate

      public final void setArrivalDate(ZonedDateTime arrivalDate)
      Sets the arrival date of the intervention.
      Parameters:
      arrivalDate - the arrival date to set
    • getOutcomeStartDate

      public final ZonedDateTime getOutcomeStartDate()
      Gets the date when the intervention outcome started.
      Returns:
      the outcome start date
    • setOutcomeStartDate

      public final void setOutcomeStartDate(ZonedDateTime outcomeStartDate)
      Sets the date when the intervention outcome started.
      Parameters:
      outcomeStartDate - the outcome start date to set
    • getOutcomeEndDate

      public final ZonedDateTime getOutcomeEndDate()
      Gets the date when the intervention outcome ended.
      Returns:
      the outcome end date
    • setOutcomeEndDate

      public final void setOutcomeEndDate(ZonedDateTime outcomeEndDate)
      Sets the date when the intervention outcome ended.
      Parameters:
      outcomeEndDate - the outcome end date to set
    • getCustomerAbsent

      public final Boolean getCustomerAbsent()
      Gets whether the customer was absent during the intervention.
      Returns:
      true if the customer was absent, false otherwise
    • setCustomerAbsent

      public final void setCustomerAbsent(Boolean customerAbsent)
      Sets whether the customer was absent during the intervention.
      Parameters:
      customerAbsent - true if the customer was absent, false otherwise
    • getNote

      public final String getNote()
      Gets the note associated with this intervention resource.
      Returns:
      the note
    • setNote

      public final void setNote(String note)
      Sets the note associated with this intervention resource.
      Parameters:
      note - the note to set
    • getWorkShift

      public final Long getWorkShift()
      Gets the work shift associated with this intervention resource.
      Returns:
      the work shift
    • setWorkShift

      public final void setWorkShift(Long workShift)
      Sets the work shift associated with this intervention resource.
      Parameters:
      workShift - the work shift to set
    • getManualLockUser

      public final Long getManualLockUser()
      Gets the manual lock user associated with this intervention resource.
      Returns:
      the manual lock user
    • setManualLockUser

      public final void setManualLockUser(Long manualLockUser)
      Sets the manual lock user associated with this intervention resource.
      Parameters:
      manualLockUser - the manual lock user to set
    • getValidationStatus

      public Long getValidationStatus()
      Gets the validation status associated with this intervention resource.
      Returns:
      the validation status
    • setValidationStatus

      public void setValidationStatus(Long validationStatus)
      Sets the validation status associated with this intervention resource.
      Parameters:
      validationStatus - the validation status to set
    • getValidationUser

      public Long getValidationUser()
      Gets the user associated with the validation of this intervention resource.
      Returns:
      the validation users
    • setValidationUser

      public void setValidationUser(Long validationUser)
      Sets the user associated with the validation of this intervention resource.
      Parameters:
      validationUser - the validation users to set
    • getValidationDate

      public ZonedDateTime getValidationDate()
      Gets the validation date associated with this intervention resource.
      Returns:
      the validation date
    • setValidationDate

      public void setValidationDate(ZonedDateTime validationDate)
      Sets the validation date associated with this intervention resource.
      Parameters:
      validationDate - the validation date to set