Class AllocationRule

java.lang.Object
org.openwms.wms.shipping.spi.AllocationRule
All Implemented Interfaces:
Serializable

public class AllocationRule extends Object implements Serializable
An AllocationRule encapsulates the demanded amount of Product items.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • quantity

      private org.openwms.core.units.api.UnitType quantity
    • product

      private Product product
  • Constructor Details

    • AllocationRule

      protected AllocationRule()
      Create a new AllocationRule.
    • AllocationRule

      public AllocationRule(org.openwms.core.units.api.UnitType quantity, Product product)
      Create a new AllocationRule.
      Parameters:
      quantity - The amount of Product items
      product - The demanded Product
  • Method Details

    • getQuantity

      public org.openwms.core.units.api.UnitType getQuantity()
      Get the quantity.
      Returns:
      the quantity.
    • getProduct

      public Product getProduct()
      Get the product.
      Returns:
      the product.