Class AggregateBundleRequirement

java.lang.Object
overit.geocallapp.wfm.bundler.bl.bundleRequirement.AggregateBundleRequirement

public class AggregateBundleRequirement extends Object
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 Details

    • AggregateBundleRequirement

      public AggregateBundleRequirement()
  • Method Details

    • getBundleHeader

      public Long getBundleHeader()
      Gets the bundle header ID.
      Returns:
      the bundle header ID
    • setBundleHeader

      public void setBundleHeader(Long bundleHeader)
      Sets the bundle header ID.
      Parameters:
      bundleHeader - the bundle header ID to set
    • getMandatoryResources

      public Collection<String> getMandatoryResources()
      Gets the mandatory resources as a collection of identity numbers.
      Returns:
      the mandatory resources
    • setMandatoryResources

      public void setMandatoryResources(Collection<String> mandatoryResources)
      Sets the mandatory resources.
      Parameters:
      mandatoryResources - the mandatory resources as a collection of identity numbers
    • getPreferredResources

      public Collection<String> getPreferredResources()
      Gets the preferred resources as a collection of identity numbers.
      Returns:
      the preferred resources
    • setPreferredResources

      public void setPreferredResources(Collection<String> preferredResources)
      Sets the preferred resources.
      Parameters:
      preferredResources - the preferred resources as a collection of identity numbers
    • getExcludedResources

      public Collection<String> getExcludedResources()
      Gets the excluded resources as a collection of identity numbers.
      Returns:
      the excluded resources
    • setExcludedResources

      public void setExcludedResources(Collection<String> excludedResources)
      Sets the excluded resources.
      Parameters:
      excludedResources - the excluded resources as a collection of identity numbers
    • getMandatoryTeams

      public Collection<String> getMandatoryTeams()
      Gets the mandatory teams as a collection of identity numbers.
      Returns:
      the mandatory teams
    • setMandatoryTeams

      public void setMandatoryTeams(Collection<String> mandatoryTeams)
      Sets the mandatory teams.
      Parameters:
      mandatoryTeams - the mandatory teams as a collection of identity numbers
    • getExcludedTeams

      public Collection<String> getExcludedTeams()
      Gets the excluded teams as a collection of identity numbers.
      Returns:
      the excluded teams
    • setExcludedTeams

      public void setExcludedTeams(Collection<String> excludedTeams)
      Sets the excluded teams.
      Parameters:
      excludedTeams - the excluded teams as a collection of identity numbers
    • getAllResourceIdentificationNumbers

      public Collection<String> 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