Class DTOInterventionResourceUpdate

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

public class DTOInterventionResourceUpdate extends DynO
DTO for intervention resource update
Since:
18.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOInterventionResourceUpdate

      public DTOInterventionResourceUpdate()
  • Method Details

    • getSpentTime

      public final Optional<Double> getSpentTime()
      Gets the spent time.
      Returns:
      the spent time
    • setSpentTime

      public final void setSpentTime(Optional<Double> spentTime)
      Sets the spent time.
      Parameters:
      spentTime - the new spent time
    • getTakeInChargeDate

      public Optional<ZonedDateTime> getTakeInChargeDate()
      Gets the date and time when the intervention was taken in charge.
      Returns:
      the take in charge date
    • setTakeInChargeDate

      public void setTakeInChargeDate(Optional<ZonedDateTime> takeInChargeDate)
      Sets the date and time when the intervention was taken in charge.
      Parameters:
      takeInChargeDate - the new take in charge date
    • getArrivalDate

      public Optional<ZonedDateTime> getArrivalDate()
      Returns the arrival on site date of the intervention.
      Returns:
      the arrival on site date as a ZonedDateTime object
    • setArrivalDate

      public void setArrivalDate(Optional<ZonedDateTime> arrivalDate)
      Sets the arrival on site date of the intervention.
      Parameters:
      arrivalDate - the arrival on site date to be set
    • getOutcomeStartDate

      public Optional<ZonedDateTime> getOutcomeStartDate()
      Gets the date and time when the outcome of the intervention was started.
      Returns:
      the outcome start date
    • setOutcomeStartDate

      public void setOutcomeStartDate(Optional<ZonedDateTime> outcomeStartDate)
      Sets the date and time when the outcome of the intervention was started.
      Parameters:
      outcomeStartDate - the date and time when the outcome of the intervention was started
    • getOutcomeEndDate

      public Optional<ZonedDateTime> getOutcomeEndDate()
      Gets the date and time when the outcome of the intervention was ended.
      Returns:
      the outcome end date
    • setOutcomeEndDate

      public void setOutcomeEndDate(Optional<ZonedDateTime> outcomeEndDate)
      Sets the date and time when the outcome of the intervention was ended.
      Parameters:
      outcomeEndDate - the date and time when the outcome of the intervention was ended
    • getNote

      public Optional<String> getNote()
      Gets the note associated with this work order operation resource.
      Returns:
      the note
    • setNote

      public void setNote(Optional<String> note)
      Sets the note associated with this work order operation resource.
      Parameters:
      note - the note associated with this work order operation resource.
    • getCustomerAbsent

      public Optional<Boolean> getCustomerAbsent()
      Gets whether the work order operation resource had a missed participation.
      Returns:
      true if the work order operation resource had a missed participation, false otherwise
    • setCustomerAbsent

      public void setCustomerAbsent(Optional<Boolean> customerAbsent)
      Sets whether the work order operation resource had a missed participation.
      Parameters:
      customerAbsent - true if the work order operation resource had a missed participation, false otherwise
    • getLockSpentTime

      public Optional<Boolean> getLockSpentTime()
      Gets whether the work order operation resource's spent time is locked.
      Returns:
      true if the spent time is locked, false otherwise
    • setLockSpentTime

      public void setLockSpentTime(Optional<Boolean> lockSpentTime)
      Sets whether the work order operation resource's spent time is locked.
      Parameters:
      lockSpentTime - true if the work order operation resource spend time is locked, false otherwise