Class BOWorkOrderOperation

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.workorder.operation.BOWorkOrderOperation
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

@EntityRef(WorkOrderOperationEntity.class) public class BOWorkOrderOperation extends DynO
Business object representing a work order operation. It contains the master data of the work order's operation and its relations with the associated technical objects, the address ù and other entities such as materials, tools, surveys and performances.
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOWorkOrderOperation

      public BOWorkOrderOperation()
  • Method Details

    • getParentOperation

      public Long getParentOperation()
      Returns the work order operation parent id.
      Returns:
      the operation parent id
      See Also:
    • setParentOperation

      public void setParentOperation(Long parentOperation)
      Sets the work order operation parent id.
      Parameters:
      parentOperation - the operation parent id
      See Also:
    • getState

      public Long getState()
      Returns the work order operation state.
      Returns:
      the operation state
      See Also:
    • setState

      public void setState(Long state)
      Sets the work order operation state.
      Parameters:
      state - the operation state
      See Also:
    • getExecutionOrder

      public Long getExecutionOrder()
      Returns the work order operation execution order.
      Returns:
      the execution order
    • setExecutionOrder

      public void setExecutionOrder(Long executionOrder)
      Sets the work order operation execution.
      Parameters:
      executionOrder - the execution order
    • getId

      public Long getId()
      Returns the work order operation id.
      Returns:
      the the work order operation id
    • setId

      public void setId(Long id)
      Sets the work order operation id.
      Parameters:
      id - the work order operation id
    • getType

      public Long getType()
      Returns the work order operation type.
      Returns:
      the operation type
      See Also:
    • setType

      public void setType(Long type)
      Sets the work order operation type.
      Parameters:
      type - the operation type
      See Also:
    • getDescription

      public String getDescription()
      Returns the work order operation description.
      Returns:
      the operation description
    • setDescription

      public void setDescription(String description)
      Sets the work order operation description.
      Parameters:
      description - the operation description
    • getWorkCycleOperation

      public Long getWorkCycleOperation()
      Returns the work cycle header id of the work order operation.
      Returns:
      the work cycle header id
      See Also:
    • setWorkCycleOperation

      public void setWorkCycleOperation(Long workCycleOperation)
      Sets the work cycle header id of the work order operation.
      Parameters:
      workCycleOperation - the work cycle header id
      See Also:
    • getAddress

      public Long getAddress()
      Returns the address id of the work order operation address.
      Returns:
      the operation address id
      See Also:
    • setAddress

      public void setAddress(Long address)
      Sets the address id of the work order operation.
      Parameters:
      address - the operation address id
      See Also:
    • getDefaultDuration

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

      public void setDefaultDuration(Long defaultDuration)
      Sets the work order operation default duration.
      Parameters:
      defaultDuration - the operation default duration
    • getCode

      public String getCode()
      Returns the work order operation code.
      Returns:
      the operation code
    • setCode

      public void setCode(String code)
      Sets the work order operation code.
      Parameters:
      code - the operation code
    • getCurrentDuration

      public Long getCurrentDuration()
      Returns the current duration of the work order operation.
      Returns:
      the operation current duration
    • setCurrentDuration

      public void setCurrentDuration(Long currentDuration)
      Sets the current duration of the work order operation.
      Parameters:
      currentDuration - the operation current duration
    • getCardinality

      public Long getCardinality()
      Returns the work order operation cardinality .
      Returns:
      the operation cardinality
    • setCardinality

      public void setCardinality(Long cardinality)
      Sets the work order operation cardinality.
      Parameters:
      cardinality - the operation cardinality
    • getNote

      public String getNote()
      Returns the work order operation note.
      Returns:
      the operation note
    • setNote

      public void setNote(String note)
      Sets the work order operation note.
      Parameters:
      note - the operation note
    • getStartDate

      public Date getStartDate()
      Returns the work order operation start date.
      Returns:
      the operation start date
    • setStartDate

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

      public Date getEndDate()
      Returns the work order operation end date.
      Returns:
      the operation end date
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the work order operation end date.
      Parameters:
      endDate - the operation end date
    • isNew

      public boolean isNew()
      Checks if is the work order operation is new.
      Returns:
      true, if the operation is new
    • getOutcomeStartDate

      public Date getOutcomeStartDate()
      Returns the outcome start date of the work order operation.
      Returns:
      the outcome start date
    • setOutcomeStartDate

      public void setOutcomeStartDate(Date outcomeStartDate)
      Sets the outcome start date of the work order operation.
      Parameters:
      outcomeStartDate - the outcome start date
    • getOutcomeEndDate

      public Date getOutcomeEndDate()
      Returns the outcome end date of the work order operation.
      Returns:
      the outcome end date
    • setOutcomeEndDate

      public void setOutcomeEndDate(Date outcomeEndDate)
      Sets the outcome end date of the work order operation.
      Parameters:
      outcomeEndDate - the outcome end date
    • getWorkCenter

      public Long getWorkCenter()
      Returns the work center id of the work order operation.
      Returns:
      the operation work center id
      See Also:
    • setWorkCenter

      public void setWorkCenter(Long workCenter)
      Sets the work center id of the work order operation.
      Parameters:
      workCenter - the operation work center id
      See Also:
    • getActivity

      public Long getActivity()
      Returns the activity id of the work order operation.
      Returns:
      the operation activity id
      See Also:
    • setActivity

      public void setActivity(Long activity)
      Sets the activity id of the work order operation.
      Parameters:
      activity - the operation activity id
      See Also:
    • getWorkOrder

      public Long getWorkOrder()
      Returns the work order header id of the operation.
      Returns:
      the work order id
      See Also:
    • setWorkOrder

      public void setWorkOrder(Long workOrder)
      Sets the work order header id of the operation.
      Parameters:
      workOrder - the work order id
      See Also:
    • getLinkedOperations

      public List<Long> getLinkedOperations()
      Returns the list of the linked operations.
      Returns:
      the linked operations ids
    • getLinkedOperationsString

      public String getLinkedOperationsString()
      Returns the linked operations list as a string.
      Returns:
      the linked operations status list as a string
    • setLinkedOperations

      public void setLinkedOperations(List<Long> linkedOperations)
      Sets the list of the linked operations.
      Parameters:
      linkedOperations - the linked operations ids
    • setLinkedOperationsString

      public void setLinkedOperationsString(String linkedOperationString)
      Sets the linked operations list as a string.
      Parameters:
      linkedOperationString - the linked operations list as a string
    • addLinkedOperation

      public void addLinkedOperation(Long linkedOperation)
    • removeLinkedOperation

      public void removeLinkedOperation(Long linkedOperation)