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

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

    • BOWorkCycle

      public BOWorkCycle()
  • Method Details

    • getId

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

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

      public Long getWorkOrderType()
      Returns the work order type.
      Returns:
      the work order type
    • setWorkOrderType

      public void setWorkOrderType(Long workOrderType)
      Sets the work order type.
      Parameters:
      workOrderType - the work order type
    • getCode

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

      public void setCode(String code)
      Sets the work cycle code.
      Parameters:
      code - the work cycle code
    • getDescription

      public LocalizedString getDescription()
      Returns the work cycle description.
      Returns:
      the description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the work cycle description.
      Parameters:
      description - the description
    • getWoByOrder

      public Boolean getWoByOrder()
      Checks if the work cycle's work order is by order.
      Returns:
      true if the work order is by order, false otherwise
    • setWoByOrder

      public void setWoByOrder(Boolean woByOrder)
      Sets whether the work cycle's work order must be a work order by order.
      Parameters:
      woByOrder - true if the work order must be by order, false otherwise
    • getVisible

      public Boolean getVisible()
      Checks if the work cycle is visible
      Returns:
      true if the work cycle is visible, false otherwise
    • setVisible

      public void setVisible(Boolean visible)
      Sets the work cycle to visible.
      Parameters:
      visible - true if the work cycle must be visible, false otherwise
    • getOrder

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

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

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

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

      public Long getWorkOrderDuration()
      Returns the work cycle duration.
      Returns:
      the work cycle duration
    • setWorkOrderDuration

      public void setWorkOrderDuration(Long workOrderDuration)
      Sets the work cycle duration.
      Parameters:
      workOrderDuration - the work cycle duration
    • getGenerableFromMobile

      public Boolean getGenerableFromMobile()
      Checks if the work cycle is generable from mobile.
      Returns:
      true if the work cycle is generable from mobile, false otherwise
    • setGenerableFromMobile

      public void setGenerableFromMobile(Boolean generableFromMobile)
      Sets whether the work cycle must be generable from mobile.
      Parameters:
      generableFromMobile - true if the work cycle must be generable from mobile, false otherwise
    • getAcceptOnFieldRequired

      public Boolean getAcceptOnFieldRequired()
      Checks if the work cycle requires on field acceptation.
      Returns:
      true if the work cycle requires the acceptation on field, false otherwise
    • setAcceptOnFieldRequired

      public void setAcceptOnFieldRequired(Boolean acceptOnFieldRequired)
      Sets whether the work cycle must require the on field acceptation.
      Parameters:
      acceptOnFieldRequired - true if the work cycle must require the on field acceptation, false otherwise.