Class BOIntervention

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

public class BOIntervention extends DynO
Business object representing an intervention.
Since:
18.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOIntervention

      public BOIntervention()
  • Method Details

    • getId

      public Long getId()
      Returns the intervention id.
      Returns:
      the the intervention id
    • setId

      public void setId(Long id)
      Sets the intervention id.
      Parameters:
      id - the intervention id
    • getStatus

      public Long getStatus()
      Returns the status id.
      Returns:
      the status id
    • setStatus

      public void setStatus(Long status)
      Sets the status id.
      Parameters:
      status - the status id
    • getStartDate

      public Date getStartDate()
      Returns the intervention start date.
      Returns:
      the intervention start date
    • setStartDate

      public void setStartDate(Date startDate)
      Sets the intervention start date.
      Parameters:
      startDate - the intervention start date
    • getEndDate

      public Date getEndDate()
      Returns the intervention end date.
      Returns:
      the intervention end date
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the intervention end date.
      Parameters:
      endDate - the intervention end date
    • getWorkOrderOperation

      public Long getWorkOrderOperation()
      Returns the work order operation id.
      Returns:
      the work order operation id
    • setWorkOrderOperation

      public void setWorkOrderOperation(Long workOrderOperation)
      Sets the work order operation id.
      Parameters:
      workOrderOperation - the work order operation id
    • getAppointment

      public Long getAppointment()
      Returns the appointment id.
      Returns:
      the appointment id
    • setAppointment

      public void setAppointment(Long appointment)
      Sets the appointment id.
      Parameters:
      appointment - the appointment id
    • getForeman

      public Long getForeman()
      Returns the foreman id.
      Returns:
      the foreman id
    • setForeman

      public void setForeman(Long foreman)
      Sets the foreman id.
      Parameters:
      foreman - the foreman id
    • getDefaultDuration

      public Long getDefaultDuration()
      Returns the default duration.
      Returns:
      the default duration
    • setDefaultDuration

      public void setDefaultDuration(Long defaultDuration)
      Sets the default duration.
      Parameters:
      defaultDuration - the default duration
    • getParent

      public Long getParent()
      Returns the id of the intervention parent. Used in work order by order management.
      Returns:
      the parent id
    • setParent

      public void setParent(Long parent)
      Sets the id of the intervention parent. Used in work order by order management.
      Parameters:
      parent - the parent id
    • isMainOperationIntervention

      public boolean isMainOperationIntervention()
      Checks if this is the main operation intervention.
      Returns:
      true, if this is the main operation intervention