Class DTOResourceIntervention

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

public class DTOResourceIntervention extends DynO
DTO for intervention assigned resources
Since:
18.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOResourceIntervention

      public DTOResourceIntervention()
  • Method Details

    • getResourceId

      public Collection<Long> getResourceId()
      Retrieves the resource ids associated.
      Returns:
      The resource ids.
    • setResourceId

      public final void setResourceId(Collection<Long> resourceId)
      Sets the resource ids.
      Parameters:
      resourceId - The resource ids to be set.
    • getTeamLeader

      public final Boolean getTeamLeader()
      Determines if the person is a team leader.
      Returns:
      true if the person is a team leader, false otherwise.
    • setTeamLeader

      public final void setTeamLeader(Boolean teamLeader)
      Sets whether the person is a team leader or not.
      Parameters:
      teamLeader - true if the person is a team leader, false otherwise
    • getInterventionRangeType

      public final InterventionRangeType getInterventionRangeType()
      Retrieves the Intervention Range Type of the DTO Resource Intervention.
      Returns:
      The InterventionRangeType of the DTO Resource Intervention.
    • setInterventionRangeType

      public final void setInterventionRangeType(InterventionRangeType interventionRangeType)
      Sets the Intervention Range Type of the DTO Resource Intervention.
      Parameters:
      interventionRangeType - The InterventionRangeType to be set.
    • getDateRange

      public final ZonedDateTimeRange getDateRange()
      Retrieves the date range.
      Returns:
      The date range.
    • setDateRange

      public final void setDateRange(ZonedDateTimeRange dateRange)
      Sets the date range.
      Parameters:
      dateRange - the date range to be set
    • getStatusId

      public final Collection<Long> getStatusId()
      Gets the status id.
      Returns:
      the status id
    • getStatus

      public final Collection<Long> getStatus()
      Gets the status.
      Returns:
      the status
    • setStatusId

      public final void setStatusId(Collection<Long> statusId)
      Sets the status id.
      Parameters:
      statusId - the new status id
    • getWorkOrderId

      public final Collection<Long> getWorkOrderId()
      Gets the work order id.
      Returns:
      the work order id
    • getWorkOrder

      public final Collection<Long> getWorkOrder()
      Gets the work order.
      Returns:
      the work order
    • setWorkOrderId

      public final void setWorkOrderId(Collection<Long> workOrderId)
      Sets the work order id.
      Parameters:
      workOrderId - the new work order id
    • getWorkOrderOperationId

      public final Collection<Long> getWorkOrderOperationId()
      Gets the work order operation id.
      Returns:
      the work order operation id
    • getWorkOrderOperation

      public final Collection<Long> getWorkOrderOperation()
      Gets the work order operation.
      Returns:
      the work order operation
    • setWorkOrderOperationId

      public final void setWorkOrderOperationId(Collection<Long> workOrderOperationId)
      Sets the work order operation id.
      Parameters:
      workOrderOperationId - the new work order operation id