Class BOWorkOrderOperation

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.workorders.bl.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.
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:
    • getStatus

      public Long getStatus()
      Returns the work order operation status.
      Returns:
      the operation state
      See Also:
    • setStatus

      public void setStatus(Long status)
      Sets the work order operation status.
      Parameters:
      status - 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
    • getWorkCycleStructure

      public Long getWorkCycleStructure()
      Returns the work cycle structure id of the work order operation.
      Returns:
      the work cycle structure id
    • setWorkCycleStructure

      public void setWorkCycleStructure(Long workCycleStructure)
      Sets the work cycle structure id of the work order operation.
      Parameters:
      workCycleStructure - the work cycle structure id
    • getAddress

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

      public void setAddress(Long address)
      Sets the address id of the work order operation.
      Parameters:
      address - the operation address id
    • 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
    • setWorkCenter

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

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

      public void setActivity(Long activity)
      Sets the activity id of the work order operation.
      Parameters:
      activity - the operation activity id
    • 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:
    • getOutcomeCount

      public Long getOutcomeCount()
      Returns the outcome count.
      Returns:
      the outcome count
    • setOutcomeCount

      public void setOutcomeCount(Long outcomeCount)
      Sets the outcome count.
      Parameters:
      outcomeCount - the outcome count
    • 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)
    • getProgressPercentage

      public Long getProgressPercentage()
      Returns the progress percentage.
      Returns:
      the progress percentage
    • setProgressPercentage

      public void setProgressPercentage(Long progressPercentage)
      Sets the progress percentage.
      Parameters:
      progressPercentage - the progress percentage id
    • calculateProgressPercentage

      public Long calculateProgressPercentage()
    • getLastOutcomeAgenda

      public Long getLastOutcomeAgenda()
      Returns the last outcome agenda id.
      Returns:
      the last outcome agenda id
    • setLastOutcomeAgenda

      public void setLastOutcomeAgenda(Long lastOutcomeAgenda)
      Sets the last outcome agenda id.
      Parameters:
      lastOutcomeAgenda - the last outcome agenda id
    • getLastOutcomeReason

      public Long getLastOutcomeReason()
      Returns the last outcome reason id.
      Returns:
      the last outcome reason id
    • setLastOutcomeReason

      public void setLastOutcomeReason(Long lastOutcomeReason)
      Sets the last outcome reason id.
      Parameters:
      lastOutcomeReason - the last outcome reason id
    • getLastOutcomeUser

      public Long getLastOutcomeUser()
      Returns the last outcome user id.
      Returns:
      the last outcome user id
    • setLastOutcomeUser

      public void setLastOutcomeUser(Long lastOutcomeUser)
      Sets the last outcome user id.
      Parameters:
      lastOutcomeUser - the last outcome user id
    • getLastOutcomeOrigin

      public Long getLastOutcomeOrigin()
      Returns the last outcome origin id.
      Returns:
      the last outcome origin id
    • setLastOutcomeOrigin

      public void setLastOutcomeOrigin(Long lastOutcomeOrigin)
      Sets the last outcome origin id.
      Parameters:
      lastOutcomeOrigin - the last outcome origin id
    • getLastOutcomeDate

      public Date getLastOutcomeDate()
      Returns the work order operation last outcome date.
      Returns:
      the work order operation last outcome date
    • setLastOutcomeDate

      public void setLastOutcomeDate(Date lastOutcomeDate)
      Sets the work order operation last outcome date.
      Parameters:
      lastOutcomeDate - the work order operation last outcome date
    • getLastPdaTakeInChargeDate

      public Date getLastPdaTakeInChargeDate()
      Retrieves the last PDA take in charge date
      Returns:
      the last PDA take in charge date
    • setLastPdaTakeInChargeDate

      public void setLastPdaTakeInChargeDate(Date lastPdaTakeInChargeDate)
      Sets the last PDA take in charge date.
      Parameters:
      lastPdaTakeInChargeDate - the last date to set as the PDA take in charge date
    • getPdaLastArrivalDate

      public Date getPdaLastArrivalDate()
      Returns the work order operation pda last arrival date.
      Returns:
      the work order operation pda last arrival date
    • setPdaLastArrivalDate

      public void setPdaLastArrivalDate(Date pdaLastArrivalDate)
      Sets the work order operation pda last arrival date.
      Parameters:
      pdaLastArrivalDate - the work order operation pda last arrival date
    • getInterventionGroup

      public Long getInterventionGroup()
      Returns the intervention group id.
      Returns:
      the intervention group id
    • setInterventionGroup

      public void setInterventionGroup(Long interventionGroup)
      Sets the intervention group id.
      Parameters:
      interventionGroup - the intervention group id
    • getSkillOverrideConfiguration

      public Long getSkillOverrideConfiguration()
      Returns the skill override configuration id.
      Returns:
      the skill override configuration id
    • setSkillOverrideConfiguration

      public void setSkillOverrideConfiguration(Long skillOverrideConfiguration)
      Sets the skill override configuration id.
      Parameters:
      skillOverrideConfiguration - the skill override configuration id
    • getPreassignedUser

      public Long getPreassignedUser()
      Returns:
      the preassignedUser
    • setPreassignedUser

      public void setPreassignedUser(Long preassignedUser)
      Parameters:
      preassignedUser - the preassignedUser to set
    • setActivityAddress

      public void setActivityAddress(Long activityAddress)
      Parameters:
      activityAddress - the schedulingAddress to set
    • getActivityAddress

      public Long getActivityAddress()
      Returns:
      the schedulingAddress
    • getImmediateScheduling

      public Boolean getImmediateScheduling()
      Returns the immediate scheduling flag.
      Returns:
      true if the operation requires immediate scheduling, false otherwise
    • setImmediateScheduling

      public void setImmediateScheduling(Boolean immediateScheduling)
      Sets the immediate scheduling flag.
      Parameters:
      immediateScheduling - true if the operation requires immediate scheduling, false otherwise