Class BOWorkCycleStructure

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.workorders.bl.workcycle.structure.BOWorkCycleStructure
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOWorkCycleStructure extends DynO
Business object representing a generic Work Cycle.
Since:
18.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOWorkCycleStructure

      public BOWorkCycleStructure()
  • Method Details

    • getId

      public Long getId()
      Returns the work cycle operation id.
      Returns:
      the work cycle operation id
    • getWorkCycle

      public Long getWorkCycle()
      Returns the work cycle header id.
      Returns:
      the work cycle header id
    • getWorkOrderOperationType

      public Long getWorkOrderOperationType()
      Returns the type of the work order operation associated to the work cycle operation.
      Returns:
      the work order operation type
      See Also:
    • getOrder

      public Long getOrder()
      Returns the work cycle operation order.
      Returns:
      the order
    • getDefaultDuration

      public Long getDefaultDuration()
      Returns the work cycle operation commitment.
      Returns:
      the commitment
    • getTeamCardinality

      public Long getTeamCardinality()
      Returns the work cycle operation team cardinality.
      Returns:
      the team cardinality
    • getRepeatable

      public Boolean getRepeatable()
      Returns the work cycle operation type.
      Returns:
      the work cycle operation type
    • getDummyOperation

      public Boolean getDummyOperation()
      Checks if the work cycle operation is dummy.
      Returns:
      true if the work cycle operation is dummy, false otherwise
    • getBookingOperation

      public Boolean getBookingOperation()
      Checks if the work cycle operation is booking.
      Returns:
      true if the work cycle operation is booking, false otherwise
    • getOptionalOperation

      public Boolean getOptionalOperation()
      Checks if the work cycle operation is optional.
      Returns:
      true if the work cycle operation is optional, false otherwise
    • getAssetStatus

      public List<Long> getAssetStatus()
      Returns the asset status list.
      Returns:
      the asset status list
    • setAssetStatus

      public void setAssetStatus(List<Long> assetStatus)
      Sets the asset status list.
      Parameters:
      assetStatus - the asset status list
    • getAssetStatusString

      public String getAssetStatusString()
      Returns the asset status list string.
      Returns:
      the asset status list string
    • setAssetStatusString

      public void setAssetStatusString(String assetStatusString)
      Sets the asset status list as a string.
      Parameters:
      assetStatusString - the asset status list as a string
    • setId

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

      public void setWorkCycle(Long workCycle)
      Sets the work cycle header id.
      Parameters:
      workCycle - the work cycle header id
    • setWorkOrderOperationType

      public void setWorkOrderOperationType(Long workOrderOperationType)
      Sets the type of the work order operation associated to the work cycle operation.
      Parameters:
      workOrderOperationType - the work order operation type id
      See Also:
    • setOrder

      public void setOrder(Long order)
      Sets the work cycle operation order.
      Parameters:
      order - the order
    • setDefaultDuration

      public void setDefaultDuration(Long defaultDuration)
      Sets the work cycle operation commitment.
      Parameters:
      defaultDuration - the commitment
    • setTeamCardinality

      public void setTeamCardinality(Long teamCardinality)
      Sets the work cycle operation team cardinality.
      Parameters:
      teamCardinality - the team cardinality
    • setRepeatable

      public void setRepeatable(Boolean repeatable)
      Sets the work cycle operation type.
      Parameters:
      repeatable - the work cycle operation type
    • setDummyOperation

      public void setDummyOperation(Boolean dummyOperation)
      Sets the work cycle operation to dummy.
      Parameters:
      dummyOperation - true if the work cycle operation must be dummy, false otherwise
    • setBookingOperation

      public void setBookingOperation(Boolean bookingOperation)
      Sets the work cycle operation to booking.
      Parameters:
      bookingOperation - true if the work cycle operation must be booking, false otherwise
    • setOptionalOperation

      public void setOptionalOperation(Boolean optionalOperation)
      Sets the work cycle operation to optional.
      Parameters:
      optionalOperation - true if the work cycle operation must be optional, false otherwise
    • getBookingActivityWeight

      public Long getBookingActivityWeight()
      Returns the booking activity weight of the work cycle operation,
      Returns:
      the booking activity weight
    • setBookingActivityWeight

      public void setBookingActivityWeight(Long bookingActivityWeight)
      Sets the booking activity weight of the work cycle operation.
      Parameters:
      bookingActivityWeight - the booking activity weight