Class DTOInterventionResourceInsert

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

public class DTOInterventionResourceInsert extends DynO
DTO for intervention resource insert.
Since:
18.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOInterventionResourceInsert

      public DTOInterventionResourceInsert()
  • Method Details

    • getResource

      public final Long getResource()
      Gets the resource.
      Returns:
      the resource
    • setResource

      public final void setResource(Long resource)
      Sets the resource.
      Parameters:
      resource - the new resource
    • getIntervention

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

      public void setIntervention(Long intervention)
      Sets the intervention.
      Parameters:
      intervention - the new intervention
    • getSpentTime

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

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

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

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

      public 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(ZonedDateTime arrivalDate)
      Sets the arrival on site date of the intervention.
      Parameters:
      arrivalDate - the arrival on site date to be set
    • getOutcomeStartDate

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

      public void setOutcomeStartDate(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 ZonedDateTime getOutcomeEndDate()
      Gets the date and time when the outcome of the intervention was ended.
      Returns:
      the outcome end date
    • setOutcomeEndDate

      public void setOutcomeEndDate(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
    • getWorkingHourType

      public Long getWorkingHourType()
      Gets the hour type associated with this work order operation resource.
      Returns:
      the hour type
    • setWorkingHourType

      public void setWorkingHourType(Long workingHourType)
      Sets the hour type associated with this work order operation resource.
      Parameters:
      workingHourType - the hour type associated with this work order operation resource.
    • getNote

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

      public void setNote(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 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(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 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(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