java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.orchestrator.workorders.bl.bundler.bundling.event.BundlingInput
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BundlingInput extends DynO
Object used as an input bean for the BundlingEvent
Since:
10.1
See Also:
GCApi:
bo
  • Constructor Details

    • BundlingInput

      public BundlingInput()
  • Method Details

    • getExecutionType

      public Long getExecutionType()
      Returns the bundling execution type.
      Returns:
      the bundling execution type
      See Also:
    • setExecutionType

      public void setExecutionType(Long executionType)
      Sets the bundling execution type.
      Parameters:
      executionType - the bundling execution type
      See Also:
    • getBundlingRules

      public List<BundlingRule> getBundlingRules()
      Returns the bundling rules.
      Returns:
      a list of BundlingRule elements
      See Also:
    • setBundlingRules

      public void setBundlingRules(List<BundlingRule> bundlingRules)
      Sets the bundling rules.
      Parameters:
      bundlingRules - the BundlingRules
    • hasAnEnabledPrimaryCriterion

      public boolean hasAnEnabledPrimaryCriterion()
      Checks if every BundlingRules have at least one primary criterion enabled.
      Returns:
      true, if all the BundlingRules have one primary criterion enabled, false otherwise
    • getWorkOrderOperationIds

      public List<Long> getWorkOrderOperationIds()
      Returns the list of BOWorkOrderOperation ids.
      Returns:
      a list of BOWorkOrderOperation ids
    • setWorkOrderOperationIds

      public void setWorkOrderOperationIds(List<Long> workOrderOperationIds)
      Sets the list of BOWorkOrderOperation ids.
      Parameters:
      workOrderOperationIds - the list of BOWorkOrderOperation ids
    • hasWorkOrderOperationIds

      public boolean hasWorkOrderOperationIds()
      Checks if the input has the list of BOWorkOrderOperation ids set.
      Returns:
      true, if the input has the list of BOWorkOrderOperation set, false otherwise
    • getCache

      public BundleEntitiesCache getCache()
      Returns the cache used for the Bundle related entities.
      Returns:
      the BundleEntitiesCache
    • setCache

      public void setCache(BundleEntitiesCache cache)
      Sets the cache to use for the Bundle related entities.
      Parameters:
      cache - the BundleEntitiesCache
    • getLogHelper

      public LogHelper getLogHelper()
      Returns the log used for the bundling process.
      Returns:
      the current log
    • setLogHelper

      public void setLogHelper(LogHelper logHelper)
      Sets the log that will be used in the bundling process.
      Parameters:
      logHelper - the current log
    • getBundleName

      public String getBundleName()
      Returns the bundle name.
      Returns:
      the bundle name
    • setBundleName

      public void setBundleName(String bundleName)
      Sets the bundle name.
      Parameters:
      bundleName - the bundle name
    • getNameSuffix

      public Long getNameSuffix()
      Returns the bundle name suffix. The suffix is used only when multiple bundles are created with the same name.
      Returns:
      the bundle name suffix
    • setNameSuffix

      public void setNameSuffix(Long nameSuffix)
      Sets the bundle name suffix. The suffix is used only when multiple bundles are created with the same name.
      Parameters:
      nameSuffix - the bundle name suffix
    • getProximityThreshold

      public Double getProximityThreshold()
      Gets the proximity threshold.
      Returns:
      the maximum distance for connecting items, or null for default
    • setProximityThreshold

      public void setProximityThreshold(Double proximityThreshold)
      Sets the proximity threshold.
      Parameters:
      proximityThreshold - the maximum distance for connecting items, or null for default
    • getStartingPointXCoordinate

      public Double getStartingPointXCoordinate()
      Returns the starting point X coordinate.
      Returns:
      the starting point X coordinate
    • setStartingPointXCoordinate

      public void setStartingPointXCoordinate(Double startingPointXCoordinate)
      Sets the starting point X coordinate.
      Parameters:
      startingPointXCoordinate - the starting point X coordinate
    • getStartingPointYCoordinate

      public Double getStartingPointYCoordinate()
      Returns the starting point Y coordinate.
      Returns:
      the starting point Y coordinate
    • setStartingPointYCoordinate

      public void setStartingPointYCoordinate(Double startingPointYCoordinate)
      Sets the starting point Y coordinate.
      Parameters:
      startingPointYCoordinate - the starting point Y coordinate
    • getStartingPointStrategy

      public Long getStartingPointStrategy()
      Gets the identifier for the starting point selection strategy.
      Returns:
      the starting point strategy identifier, or null for default strategy
    • setStartingPointStrategy

      public void setStartingPointStrategy(Long startingPointStrategy)
      Sets the identifier for the starting point selection strategy.
      Parameters:
      startingPointStrategy - the starting point strategy identifier, or null for default
    • getParentBundle

      public Long getParentBundle()
      Returns the parent bundle id.
      Returns:
      the parent bundle id
    • setParentBundle

      public void setParentBundle(Long parentBundle)
      Sets the parent bundle id.
      Parameters:
      parentBundle - the parent bundle id