Class ReceivingOrderPosition

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.openwms.wms.receiving.impl.BaseReceivingOrderPosition
org.openwms.wms.receiving.impl.ReceivingOrderPosition
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>, Convertable

@Entity public class ReceivingOrderPosition extends BaseReceivingOrderPosition implements Convertable, Serializable
A ReceivingOrderPosition is a persisted entity class that represents an expected receipt of Products in a particular quantity.
Author:
Heiko Scherrer
See Also:
  • Field Details

  • Constructor Details

    • ReceivingOrderPosition

      protected ReceivingOrderPosition()
      Used by the JPA provider.
    • ReceivingOrderPosition

      public ReceivingOrderPosition(Integer posNo, org.openwms.core.units.api.Measurable quantityExpected, Product product)
  • Method Details

    • setState

      public void setState(OrderState state)
      If the state is set to COMPLETED the quantityReceived is set to quantityExpected.
      Overrides:
      setState in class BaseReceivingOrderPosition
    • getQuantityExpected

      public org.openwms.core.units.api.Measurable getQuantityExpected()
    • setQuantityExpected

      public void setQuantityExpected(org.openwms.core.units.api.Measurable quantityExpected)
    • getQuantityReceived

      public org.openwms.core.units.api.Measurable getQuantityReceived()
    • addQuantityReceived

      public org.openwms.core.units.api.Measurable addQuantityReceived(org.openwms.core.units.api.Measurable quantityReceived)
    • setQuantityReceived

      public void setQuantityReceived(org.openwms.core.units.api.Measurable quantityReceived)
    • getProduct

      public Product getProduct()
    • setProduct

      public void setProduct(Product product)
    • accept

      public void accept(BaseReceivingOrderPositionVisitor visitor)
      Specified by:
      accept in interface Convertable