Class BOInterventionResource

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.bl.intervention.resource.BOInterventionResource
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOInterventionResource extends DynO
Business Object representing an Intervention Resource.
Since:
18.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOInterventionResource

      public BOInterventionResource()
  • Method Details

    • getIntervention

      public Long getIntervention()
      Returns the intervention of the intervention resource.
      Returns:
      intervention the intervention of the intervention resource
    • setIntervention

      public void setIntervention(Long intervention)
      Sets the intervention of the intervention resource.
      Parameters:
      intervention - the intervention of the intervention resource
    • getResource

      public Long getResource()
      Returns the resource of the intervention resource.
      Returns:
      resource the resource of the intervention resource
    • setResource

      public void setResource(Long resource)
      Sets the resource of the intervention resource.
      Parameters:
      resource - the resource of the intervention resource
    • getSpentTime

      public Double getSpentTime()
      Returns the spent time of the intervention resource.
      Returns:
      spentTime the spent time of the intervention resource
    • setSpentTime

      public void setSpentTime(Double spentTime)
      Sets the spent time of the intervention resource.
      Parameters:
      spentTime - the spent time of the intervention resource
    • getWorkOrderOperation

      public Long getWorkOrderOperation()
      Returns the work order operation of the intervention resource.
      Returns:
      workOrderOperation the work order operation of the intervention resource
    • setWorkOrderOperation

      public void setWorkOrderOperation(Long workOrderOperation)
      Sets the work order operation of the intervention resource.
      Parameters:
      workOrderOperation - the work order operation of the intervention resource
    • getWorkingHourType

      public Long getWorkingHourType()
      Returns the working hour type of the intervention resource.
      Returns:
      hourType the working hour type of the intervention resource
    • setWorkingHourType

      public void setWorkingHourType(Long workingHourType)
      Sets the working hour type of the intervention resource.
      Parameters:
      workingHourType - the working hour type of the intervention resource
    • getTakeInChargeDate

      public Date getTakeInChargeDate()
      Returns the taken in charge time of the intervention resource.
      Returns:
      takeInChargeDate the taken in charge time of the intervention resource
    • setTakeInChargeDate

      public void setTakeInChargeDate(Date takeInChargeDate)
      Sets the taken in charge time of the intervention resource.
      Parameters:
      takeInChargeDate - the taken in charge time of the intervention resource
    • getArrivalDate

      public Date getArrivalDate()
      Returns the arrival time of the intervention resource.
      Returns:
      arrivalDate the arrival time of the intervention resource
    • setArrivalDate

      public void setArrivalDate(Date arrivalDate)
      Sets the arrival time of the intervention resource.
      Parameters:
      arrivalDate - the arrival time of the intervention resource
    • getOutcomeStartDate

      public Date getOutcomeStartDate()
      Returns the outcome's start time of the intervention resource.
      Returns:
      outcomeStartDate the outcome's start time of the intervention resource
    • setOutcomeStartDate

      public void setOutcomeStartDate(Date outcomeStartDate)
      Sets the outcome's start time of the intervention resource.
      Parameters:
      outcomeStartDate - the outcome's start time of the intervention resource
    • getOutcomeEndDate

      public Date getOutcomeEndDate()
      Returns the outcome's end time of the intervention resource.
      Returns:
      outcomeEndDate the outcome's end time of the intervention resource
    • setOutcomeEndDate

      public void setOutcomeEndDate(Date outcomeEndDate)
      Sets the outcome's end time of the intervention resource.
      Parameters:
      outcomeEndDate - the outcome's end time of the intervention resource
    • isCustomerAbsent

      public Boolean isCustomerAbsent()
      Checks if the intervention resource has an absent customer.
      Returns:
      true if the intervention resource customer is absent, false otherwise
    • setCustomerAbsent

      public void setCustomerAbsent(Boolean customerAbsent)
      Sets the intervention resource customer as absent.
      Parameters:
      customerAbsent - true if the intervention resource must have an absent customer, false otherwise
    • getNote

      public String getNote()
      Returns the notes about the intervention resource.
      Returns:
      note the notes about the intervention resource
    • setNote

      public void setNote(String note)
      Sets the notes about the intervention resource.
      Parameters:
      note - the notes about the intervention resource
    • getWorkShift

      public Long getWorkShift()
      Returns the work shift of the intervention resource.
      Returns:
      workShift the work shift of the intervention resource
    • setWorkShift

      public void setWorkShift(Long workShift)
      Sets the work shift of the intervention resource.
      Parameters:
      workShift - the work shift of the intervention resource
    • getManualLockUser

      public Long getManualLockUser()
      Returns the manual lock user of the intervention resource.
      Returns:
      manualLockUser the manual lock user of the intervention resource
    • setManualLockUser

      public void setManualLockUser(Long manualLockUser)
      Sets the manual lock user of the intervention resource.
      Parameters:
      manualLockUser - the manual lock user of the intervention resource
    • getValidationStatus

      public Long getValidationStatus()
      Returns the validation status of the intervention resource.
      Returns:
      the validation status of the intervention resource
    • setValidationStatus

      public void setValidationStatus(Long validationStatus)
      Sets the validation status of the intervention resource.
      Parameters:
      validationStatus - the validation status of the intervention resource
    • getValidationUser

      public Long getValidationUser()
      Returns the validation user of the intervention resource.
      Returns:
      the validation user of the intervention resource
    • setValidationUser

      public void setValidationUser(Long validationUser)
      Sets the validation user of the intervention resource.
      Parameters:
      validationUser - the validation user of the intervention resource
    • getValidationDate

      public Date getValidationDate()
      Returns the validation date of the intervention resource.
      Returns:
      the validation date of the intervention resource
    • setValidationDate

      public void setValidationDate(Date validationDate)
      Sets the validation date of the intervention resource.
      Parameters:
      validationDate - the validation date of the intervention resource
    • getGenerationUser

      public Long getGenerationUser()
      Returns the user who generated the intervention resource.
      Returns:
      the user who generated the intervention resource
    • setGenerationUser

      public void setGenerationUser(Long generationUser)
      Sets the user who generated the intervention resource.
      Parameters:
      generationUser - the user who generated the intervention resource
    • getForcedOutcome

      public Boolean getForcedOutcome()
      Returns the forced outcome of the intervention resource.
      Returns:
      the forced outcome of the intervention resource
    • setForcedOutcome

      public void setForcedOutcome(Boolean forcedOutcome)
      Sets the forced outcome of the intervention resource.
      Parameters:
      forcedOutcome - the forced outcome of the intervention resource
    • getLastUpdateUser

      public Long getLastUpdateUser()
      Returns the user who last updated the intervention resource.
      Returns:
      the user who last updated the intervention resource
    • setLastUpdateUser

      public void setLastUpdateUser(Long lastUpdateUser)
      Sets the user who last updated the intervention resource.
      Parameters:
      lastUpdateUser - the user who last updated the intervention resource