Class AggregateBundleRequirement
java.lang.Object
overit.geocallapp.wfm.bundler.bl.bundleRequirement.AggregateBundleRequirement
Represents aggregated bundle requirements for a bundle.
This class contains information about mandatory, preferred, and excluded resources and teams
that should be assigned to a specific bundle.
- Since:
- 22.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all resource identification numbers from mandatory, preferred, and excluded resources.Gets the bundle header ID.Gets the excluded resources as a collection of identity numbers.Gets the excluded teams as a collection of identity numbers.Gets the mandatory resources as a collection of identity numbers.Gets the mandatory teams as a collection of identity numbers.Gets the preferred resources as a collection of identity numbers.voidsetBundleHeader(Long bundleHeader) Sets the bundle header ID.voidsetExcludedResources(Collection<String> excludedResources) Sets the excluded resources.voidsetExcludedTeams(Collection<String> excludedTeams) Sets the excluded teams.voidsetMandatoryResources(Collection<String> mandatoryResources) Sets the mandatory resources.voidsetMandatoryTeams(Collection<String> mandatoryTeams) Sets the mandatory teams.voidsetPreferredResources(Collection<String> preferredResources) Sets the preferred resources.
-
Constructor Details
-
AggregateBundleRequirement
public AggregateBundleRequirement()
-
-
Method Details
-
getBundleHeader
Gets the bundle header ID.- Returns:
- the bundle header ID
-
setBundleHeader
Sets the bundle header ID.- Parameters:
bundleHeader- the bundle header ID to set
-
getMandatoryResources
Gets the mandatory resources as a collection of identity numbers.- Returns:
- the mandatory resources
-
setMandatoryResources
Sets the mandatory resources.- Parameters:
mandatoryResources- the mandatory resources as a collection of identity numbers
-
getPreferredResources
Gets the preferred resources as a collection of identity numbers.- Returns:
- the preferred resources
-
setPreferredResources
Sets the preferred resources.- Parameters:
preferredResources- the preferred resources as a collection of identity numbers
-
getExcludedResources
Gets the excluded resources as a collection of identity numbers.- Returns:
- the excluded resources
-
setExcludedResources
Sets the excluded resources.- Parameters:
excludedResources- the excluded resources as a collection of identity numbers
-
getMandatoryTeams
Gets the mandatory teams as a collection of identity numbers.- Returns:
- the mandatory teams
-
setMandatoryTeams
Sets the mandatory teams.- Parameters:
mandatoryTeams- the mandatory teams as a collection of identity numbers
-
getExcludedTeams
Gets the excluded teams as a collection of identity numbers.- Returns:
- the excluded teams
-
setExcludedTeams
Sets the excluded teams.- Parameters:
excludedTeams- the excluded teams as a collection of identity numbers
-
getAllResourceIdentificationNumbers
Gets all resource identification numbers from mandatory, preferred, and excluded resources. This method aggregates all resource identity numbers into a single collection without duplicates.- Returns:
- a collection containing all unique resource identification numbers
-