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 Summary
Modifier and TypeFieldDescriptionThe actualLocation thePackagingUnit
is placed on.private ZonedDateTime
The expiration date of this particularPackagingUnit
.private Integer
The current height of thePackagingUnit
.private Integer
The current length of thePackagingUnit
.private String
The business key referring to a definedLot
.private String
Any kind of message placed on thePackagingUnit
.private @NotNull ProductVO
Ordered Product.private ZonedDateTime
The production date of this particularPackagingUnit
.private @NotNull org.openwms.core.units.api.Measurable
Quantity ordered.private String
An optional serial number of thePackagingUnit
.The type of PackagingUnit.private org.openwms.core.units.api.Weight
The current weight of thePackagingUnit
.private Integer
The current width of thePackagingUnit
.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU
-
Constructor Summary
ConstructorDescriptionPackagingUnitVO
(UomRelationVO uomRelation, org.openwms.core.units.api.Measurable quantity) PackagingUnitVO
(ProductVO product, org.openwms.core.units.api.Measurable quantity) -
Method Summary
Modifier and TypeMethodDescriptionboolean
All fields.getLotId()
org.openwms.core.units.api.Measurable
org.openwms.core.units.api.Weight
getWidth()
int
hashCode()
All fields.void
setActualLocation
(LocationVO actualLocation) void
setDetails
(CaptureDetailsVO details) void
setExpiresAt
(ZonedDateTime expiresAt) void
void
void
void
setMessage
(String message) void
setProduct
(ProductVO product) void
setProductionDate
(ZonedDateTime productionDate) void
setQuantity
(org.openwms.core.units.api.Measurable quantity) void
setSerialNumber
(String serialNumber) void
setWeight
(org.openwms.core.units.api.Weight weight) void
toString()
All fields.Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
Field Details
-
product
Ordered Product. -
uomRelation
The type of PackagingUnit. -
serialNumber
An optional serial number of thePackagingUnit
. -
lotId
The business key referring to a definedLot
. -
expiresAt
The expiration date of this particularPackagingUnit
. -
productionDate
The production date of this particularPackagingUnit
. -
quantity
@NotNull private @NotNull org.openwms.core.units.api.Measurable quantityQuantity ordered. -
actualLocation
The actualLocation thePackagingUnit
is placed on. -
length
The current length of thePackagingUnit
. -
width
The current width of thePackagingUnit
. -
height
The current height of thePackagingUnit
. -
weight
private org.openwms.core.units.api.Weight weightThe current weight of thePackagingUnit
. -
message
Any kind of message placed on thePackagingUnit
.
-
-
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
-
getProduct
-
setProduct
-
getSerialNumber
-
setSerialNumber
-
getLotId
-
setLotId
-
getExpiresAt
-
setExpiresAt
-
getProductionDate
-
setProductionDate
-
getQuantity
public org.openwms.core.units.api.Measurable getQuantity() -
setQuantity
public void setQuantity(org.openwms.core.units.api.Measurable quantity) -
getActualLocation
-
setActualLocation
-
getLength
-
setLength
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getWeight
public org.openwms.core.units.api.Weight getWeight() -
setWeight
public void setWeight(org.openwms.core.units.api.Weight weight) -
getMessage
-
setMessage
-
toString
All fields.- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<PackagingUnitVO>
-
equals
All fields.- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<PackagingUnitVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<PackagingUnitVO>
-