Class PackagingUnitVO

java.lang.Object
org.springframework.hateoas.RepresentationModel<PackagingUnitVO>
org.ameba.http.AbstractBase<PackagingUnitVO>
org.openwms.wms.receiving.spi.wms.inventory.PackagingUnitVO
All Implemented Interfaces:
Serializable

public class PackagingUnitVO extends org.ameba.http.AbstractBase<PackagingUnitVO> implements Serializable
A PackagingUnitVO represents a quantity of a Product packaged into a single physical unit.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • product

      @NotNull private @NotNull ProductVO product
      Ordered Product.
    • uomRelation

      public UomRelationVO uomRelation
      The type of PackagingUnit.
    • serialNumber

      private String serialNumber
      An optional serial number of the PackagingUnit.
    • lotId

      private String lotId
      The business key referring to a defined Lot.
    • expiresAt

      private ZonedDateTime expiresAt
      The expiration date of this particular PackagingUnit.
    • productionDate

      private ZonedDateTime productionDate
      The production date of this particular PackagingUnit.
    • quantity

      @NotNull private @NotNull org.openwms.core.units.api.Measurable quantity
      Quantity ordered.
    • actualLocation

      public LocationVO actualLocation
      The actualLocation the PackagingUnit is placed on.
    • length

      private Integer length
      The current length of the PackagingUnit.
    • width

      private Integer width
      The current width of the PackagingUnit.
    • height

      private Integer height
      The current height of the PackagingUnit.
    • weight

      private org.openwms.core.units.api.Weight weight
      The current weight of the PackagingUnit.
    • message

      private String message
      Any kind of message placed on the PackagingUnit.
  • Constructor Details

    • PackagingUnitVO

      public PackagingUnitVO()
    • PackagingUnitVO

      @ConstructorProperties({"product","quantity"}) public PackagingUnitVO(ProductVO product, org.openwms.core.units.api.Measurable quantity)
    • PackagingUnitVO

      @ConstructorProperties({"productUnit","quantity"}) public PackagingUnitVO(UomRelationVO uomRelation, org.openwms.core.units.api.Measurable quantity)
  • Method Details

    • setDetails

      public void setDetails(CaptureDetailsVO details)
    • getProduct

      public ProductVO getProduct()
    • setProduct

      public void setProduct(ProductVO product)
    • getSerialNumber

      public String getSerialNumber()
    • setSerialNumber

      public void setSerialNumber(String serialNumber)
    • getLotId

      public String getLotId()
    • setLotId

      public void setLotId(String lotId)
    • getExpiresAt

      public ZonedDateTime getExpiresAt()
    • setExpiresAt

      public void setExpiresAt(ZonedDateTime expiresAt)
    • getProductionDate

      public ZonedDateTime getProductionDate()
    • setProductionDate

      public void setProductionDate(ZonedDateTime productionDate)
    • getQuantity

      public org.openwms.core.units.api.Measurable getQuantity()
    • setQuantity

      public void setQuantity(org.openwms.core.units.api.Measurable quantity)
    • getActualLocation

      public LocationVO getActualLocation()
    • setActualLocation

      public void setActualLocation(LocationVO actualLocation)
    • getLength

      public Integer getLength()
    • setLength

      public void setLength(Integer length)
    • getWidth

      public Integer getWidth()
    • setWidth

      public void setWidth(Integer width)
    • getHeight

      public Integer getHeight()
    • setHeight

      public void setHeight(Integer height)
    • getWeight

      public org.openwms.core.units.api.Weight getWeight()
    • setWeight

      public void setWeight(org.openwms.core.units.api.Weight weight)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • toString

      public String toString()
      All fields.
      Overrides:
      toString in class org.springframework.hateoas.RepresentationModel<PackagingUnitVO>
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<PackagingUnitVO>
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel<PackagingUnitVO>