Class ShippingOrderPosition

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>

@Entity public class ShippingOrderPosition extends AbstractShippingOrderPosition<ShippingOrderPositionSplit> implements Serializable
A OrderPosition.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • product

      @NotNull(message="{owms.wms.shp.product}", groups=Create.class) private @NotNull(message="{owms.wms.shp.product}",groups=Create.class) Product product
      The ordered Product.
    • qtyDemanded

      @NotNull(message="{owms.wms.shp.qtyDemanded}", groups=Create.class) private @NotNull(message="{owms.wms.shp.qtyDemanded}",groups=Create.class) org.openwms.core.units.api.Measurable<?,?,?> qtyDemanded
      The quantity that was originally demanded.
    • qtyCrossdock

      private org.openwms.core.units.api.Measurable<?,?,?> qtyCrossdock
      The quantity planned for cross-docking.
    • qtyAllocated

      private org.openwms.core.units.api.Measurable<?,?,?> qtyAllocated
      The quantity that has been allocated.
    • orderPositionSplits

      private Set<ShippingOrderPositionSplit> orderPositionSplits
      All Splits created from this Position.
    • details

      private Map<String,String> details
      Arbitrary details of this Position.
  • Constructor Details

    • ShippingOrderPosition

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

      @ConstructorProperties({"order","positionNo","qtyDemanded","product"}) public ShippingOrderPosition(@NotNull @NotNull ShippingOrder order, @NotNull @NotNull Integer positionNo, @NotNull @NotNull org.openwms.core.units.api.Measurable<?,?,?> qtyDemanded, @NotNull @NotNull Product product)
      Create a new ShippingOrderPosition with the mandatory attributes. @Default is for the mapper. Note that none of the arguments is checked for null, because the Mapper might need to create Entity Objects partially for partial PATCH updates.
      Parameters:
      order - The Order
      positionNo - The position number
      qtyDemanded - The ordered quantity
      product - The ordered Product
  • Method Details