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

public class Demand extends Object implements Serializable
A Demand.
Author:
Heiko Scherrer
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private @NotNull org.openwms.core.units.api.Measurable
    The demanded quantity.
    private @NotEmpty String
    The demanded Product SKU.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.openwms.core.units.api.Measurable
     
     
    int
     
    void
    setQty(org.openwms.core.units.api.Measurable qty)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • sku

      @NotEmpty private @NotEmpty String sku
      The demanded Product SKU.
    • qty

      @NotNull private @NotNull org.openwms.core.units.api.Measurable qty
      The demanded quantity.
  • Constructor Details

    • Demand

      public Demand()
  • Method Details

    • getSku

      public String getSku()
    • setSku

      public void setSku(String sku)
    • getQty

      public org.openwms.core.units.api.Measurable getQty()
    • setQty

      public void setQty(org.openwms.core.units.api.Measurable qty)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object