Class BundlingInput
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
Object used as an input bean for the
BundlingEvent - Since:
- 10.1
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the bundle name.Returns the bundling rules.getCache()Returns the cache used for theBundlerelated entities.Returns the bundling execution type.Returns the log used for the bundling process.Returns the bundle name suffix.Returns the parent bundle id.Gets the proximity threshold.Gets the identifier for the starting point selection strategy.Returns the starting point X coordinate.Returns the starting point Y coordinate.Returns the list ofBOWorkOrderOperationids.booleanChecks if everyBundlingRules have at least one primary criterion enabled.booleanChecks if the input has the list ofBOWorkOrderOperationids set.voidsetBundleName(String bundleName) Sets the bundle name.voidsetBundlingRules(List<BundlingRule> bundlingRules) Sets the bundling rules.voidsetCache(BundleEntitiesCache cache) Sets the cache to use for theBundlerelated entities.voidsetExecutionType(Long executionType) Sets the bundling execution type.voidsetLogHelper(LogHelper logHelper) Sets the log that will be used in the bundling process.voidsetNameSuffix(Long nameSuffix) Sets the bundle name suffix.voidsetParentBundle(Long parentBundle) Sets the parent bundle id.voidsetProximityThreshold(Double proximityThreshold) Sets the proximity threshold.voidsetStartingPointStrategy(Long startingPointStrategy) Sets the identifier for the starting point selection strategy.voidsetStartingPointXCoordinate(Double startingPointXCoordinate) Sets the starting point X coordinate.voidsetStartingPointYCoordinate(Double startingPointYCoordinate) Sets the starting point Y coordinate.voidsetWorkOrderOperationIds(List<Long> workOrderOperationIds) Sets the list ofBOWorkOrderOperationids.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BundlingInput
public BundlingInput()
-
-
Method Details
-
getExecutionType
Returns the bundling execution type.- Returns:
- the bundling execution type
- See Also:
-
setExecutionType
Sets the bundling execution type.- Parameters:
executionType- the bundling execution type- See Also:
-
getBundlingRules
Returns the bundling rules.- Returns:
- a list of
BundlingRuleelements - See Also:
-
setBundlingRules
Sets the bundling rules.- Parameters:
bundlingRules- theBundlingRules
-
hasAnEnabledPrimaryCriterion
public boolean hasAnEnabledPrimaryCriterion()Checks if everyBundlingRules have at least one primary criterion enabled.- Returns:
- true, if all the
BundlingRules have one primary criterion enabled, false otherwise
-
getWorkOrderOperationIds
Returns the list ofBOWorkOrderOperationids.- Returns:
- a list of
BOWorkOrderOperationids
-
setWorkOrderOperationIds
Sets the list ofBOWorkOrderOperationids.- Parameters:
workOrderOperationIds- the list ofBOWorkOrderOperationids
-
hasWorkOrderOperationIds
public boolean hasWorkOrderOperationIds()Checks if the input has the list ofBOWorkOrderOperationids set.- Returns:
- true, if the input has the list of
BOWorkOrderOperationset, false otherwise
-
getCache
Returns the cache used for theBundlerelated entities.- Returns:
- the
BundleEntitiesCache
-
setCache
Sets the cache to use for theBundlerelated entities.- Parameters:
cache- theBundleEntitiesCache
-
getLogHelper
Returns the log used for the bundling process.- Returns:
- the current log
-
setLogHelper
Sets the log that will be used in the bundling process.- Parameters:
logHelper- the current log
-
getBundleName
Returns the bundle name.- Returns:
- the bundle name
-
setBundleName
Sets the bundle name.- Parameters:
bundleName- the bundle name
-
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
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
Gets the proximity threshold.- Returns:
- the maximum distance for connecting items, or null for default
-
setProximityThreshold
Sets the proximity threshold.- Parameters:
proximityThreshold- the maximum distance for connecting items, or null for default
-
getStartingPointXCoordinate
Returns the starting point X coordinate.- Returns:
- the starting point X coordinate
-
setStartingPointXCoordinate
Sets the starting point X coordinate.- Parameters:
startingPointXCoordinate- the starting point X coordinate
-
getStartingPointYCoordinate
Returns the starting point Y coordinate.- Returns:
- the starting point Y coordinate
-
setStartingPointYCoordinate
Sets the starting point Y coordinate.- Parameters:
startingPointYCoordinate- the starting point Y coordinate
-
getStartingPointStrategy
Gets the identifier for the starting point selection strategy.- Returns:
- the starting point strategy identifier, or null for default strategy
-
setStartingPointStrategy
Sets the identifier for the starting point selection strategy.- Parameters:
startingPointStrategy- the starting point strategy identifier, or null for default
-
getParentBundle
Returns the parent bundle id.- Returns:
- the parent bundle id
-
setParentBundle
Sets the parent bundle id.- Parameters:
parentBundle- the parent bundle id
-