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
FieldsModifier and TypeFieldDescriptionThe actualLocation thePackagingUnitis placed on.private ZonedDateTimeThe expiration date of this particularPackagingUnit.private IntegerThe current height of thePackagingUnit.private IntegerThe current length of thePackagingUnit.private StringThe business key referring to a definedLot.private StringAny kind of message placed on thePackagingUnit.private @NotNull ProductVOOrdered Product.private ZonedDateTimeThe production date of this particularPackagingUnit.private @NotNull org.openwms.core.units.api.MeasurableQuantity ordered.private StringAn optional serial number of thePackagingUnit.The type of PackagingUnit.private org.openwms.core.units.api.WeightThe current weight of thePackagingUnit.private IntegerThe current width of thePackagingUnit.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
ConstructorsConstructorDescriptionPackagingUnitVO(UomRelationVO uomRelation, org.openwms.core.units.api.Measurable quantity) PackagingUnitVO(ProductVO product, org.openwms.core.units.api.Measurable quantity) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAll fields.getLotId()org.openwms.core.units.api.Measurableorg.openwms.core.units.api.WeightgetWidth()inthashCode()All fields.voidsetActualLocation(LocationVO actualLocation) voidsetDetails(CaptureDetailsVO details) voidsetExpiresAt(ZonedDateTime expiresAt) voidvoidvoidvoidsetMessage(String message) voidsetProduct(ProductVO product) voidsetProductionDate(ZonedDateTime productionDate) voidsetQuantity(org.openwms.core.units.api.Measurable quantity) voidsetSerialNumber(String serialNumber) voidsetWeight(org.openwms.core.units.api.Weight weight) voidtoString()All fields.Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOlMethods 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 thePackagingUnitis 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
-
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:
toStringin classorg.springframework.hateoas.RepresentationModel<PackagingUnitVO>
-
equals
All fields.- Overrides:
equalsin classorg.ameba.http.AbstractBase<PackagingUnitVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classorg.ameba.http.AbstractBase<PackagingUnitVO>
-