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

public class BOOperationActivity extends DynO
Business object representing a operation activity
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOOperationActivity

      public BOOperationActivity()
  • Method Details

    • getId

      public Long getId()
      Returns the operation activity id.
      Returns:
      the the operation activity id
    • getCode

      public String getCode()
      Returns the operation's activity code.
      Returns:
      the code
    • getDescription

      public LocalizedString getDescription()
      Returns the operation's activity description.
      Returns:
      the description
    • getActive

      public Boolean getActive()
      Returns the operation's activity active.
      Returns:
      the active
    • getMultiDay

      public Boolean getMultiDay()
      Returns the operation's activity multi day.
      Returns:
      true if the operation's activity is multi day, false otherwise
    • getOnDutyOnly

      public Boolean getOnDutyOnly()
      Returns whether the operation's activity requires only on duty resources.
      Returns:
      true if the operation's activity requires only on duty resources, false otherwise
    • getIsOnCallExcluded

      public Boolean getIsOnCallExcluded()
      Checks if the operation activity's resource is on call and therefore the activity cannot be executed
      Returns:
      true if the activity has to be excluded, false otherwise
    • getInterventionGroup

      public Long getInterventionGroup()
      Returns the operation's activity intervention group id.
      Returns:
      the intervention group id
    • getDefaultOutcomeReason

      public Long getDefaultOutcomeReason()
      Returns the operation's activity default outcome reason id.
      Returns:
      the default outcome reason id
    • getMinimumTimeForDay

      public Long getMinimumTimeForDay()
      Returns the operation's activity minimum time for day
      Returns:
      the minimum time for day
    • getMinimumTimeForSuspension

      public Long getMinimumTimeForSuspension()
      Returns the operation's activity minimum time for suspension.
      Returns:
      the minimum time for suspension
    • getSchedulingType

      public Long getSchedulingType()
      Returns the operation's activity scheduling type id.
      Returns:
      the scheduling type id
    • getPriorityOnDistributions

      public Long getPriorityOnDistributions()
      Returns the operation's activity priority on distributions.
      Returns:
      the priority on distributions
    • getResourceActivityType

      public Long getResourceActivityType()
      Returns the operation's activity resource activity type id.
      Returns:
      the resource activity type id
    • getActivityType

      public Long getActivityType()
      Returns the operation's activity type.
      Returns:
      the activity type
    • setId

      public void setId(Long id)
      Sets the operation's activity id.
      Parameters:
      id - the operation activity id
    • setCode

      public void setCode(String code)
      Sets the operation's activity code.
      Parameters:
      code - the code
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the operation's activity description.
      Parameters:
      description - the description
    • setActive

      public void setActive(Boolean active)
      Sets the operation's activity to active.
      Parameters:
      active - true if the operation's activity must be active, false otherwise
    • setMultiDay

      public void setMultiDay(Boolean multiDay)
      Sets the operation's activity to multi day.
      Parameters:
      multiDay - true if the operation's activity must be multi day, false otherwise
    • setOnDutyOnly

      public void setOnDutyOnly(Boolean onDutyOnly)
      Sets the operation's activity requirement to on duty only.
      Parameters:
      onDutyOnly - true if the operation's activity must required only on duty resources, false otherwise
    • setExcludeIfOnAvailabilityOnDuty

      public void setExcludeIfOnAvailabilityOnDuty(Boolean isOnCallExcluded)
      Set the operation activity's exclusion
      Parameters:
      isOnCallExcluded - true if the operation activity's resource is on call and therefore the activity cannot be executed
    • setInterventionGroup

      public void setInterventionGroup(Long interventionGroup)
      Sets the operation's activity intervention group id.
      Parameters:
      interventionGroup - the intervention group id
    • setDefaultOutcomeReason

      public void setDefaultOutcomeReason(Long defaultOutcomeReason)
      Sets the operation's activity default outcome reason id.
      Parameters:
      defaultOutcomeReason - the default outcome reason id
    • setMinimumTimeForDay

      public void setMinimumTimeForDay(Long minimumTimeForDay)
      Sets the operation's activity minimum time for day.
      Parameters:
      minimumTimeForDay - the minimum time for day
    • setMinimumTimeForSuspension

      public void setMinimumTimeForSuspension(Long minimumTimeForSuspension)
      Sets the operation's activity minimum time for suspension.
      Parameters:
      minimumTimeForSuspension - the minimum time for suspension
    • setSchedulingType

      public void setSchedulingType(Long schedulingType)
      Sets the operation's activity scheduling type id.
      Parameters:
      schedulingType - the scheduling type id
    • setPriorityOnDistributions

      public void setPriorityOnDistributions(Long priorityOnDistributions)
      Sets the operation's activity priority on distributions.
      Parameters:
      priorityOnDistributions - the priority on distributions
    • setResourceActivityType

      public void setResourceActivityType(Long resourceActivityType)
      Sets the operation's activity resource activity type id.
      Parameters:
      resourceActivityType - the resource activity type id
    • setActivityType

      public void setActivityType(Long activityType)
      Sets the activity type.
      Parameters:
      activityType - the activity type