Package org.openwms.wms.inventory.events
Class PackagingUnitMO
java.lang.Object
org.openwms.wms.inventory.events.PackagingUnitMO
- All Implemented Interfaces:
Serializable
A PackagingUnitMO is a message object that represents a
PackagingUnit.- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe actualLocation the PackagingUnit is placed on.private StringSome hint where to find thePackagingUnitwithin its container.private StringThe persistent key of the PackagingUnit.private @NotNull ProductMOPacked Product, must not be null.private @NotNull org.openwms.core.units.api.MeasurablePacked quantity, must not be null.private StringThe serial number PackagingUnit. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetpKey()org.openwms.core.units.api.MeasurableinthashCode()voidsetActualLocation(String actualLocation) voidsetPhysicalPosition(String physicalPosition) voidvoidsetProduct(ProductMO product) voidsetQuantity(org.openwms.core.units.api.Measurable quantity) voidsetSerialNumber(String serialNumber) toString()
-
Field Details
-
pKey
The persistent key of the PackagingUnit. -
physicalPosition
Some hint where to find thePackagingUnitwithin its container. -
serialNumber
The serial number PackagingUnit. -
product
Packed Product, must not be null. -
quantity
@NotNull private @NotNull org.openwms.core.units.api.Measurable quantityPacked quantity, must not be null. -
actualLocation
The actualLocation the PackagingUnit is placed on.
-
-
Constructor Details
-
PackagingUnitMO
public PackagingUnitMO()
-
-
Method Details
-
getpKey
-
setpKey
-
getPhysicalPosition
-
setPhysicalPosition
-
getSerialNumber
-
setSerialNumber
-
getProduct
-
setProduct
-
getQuantity
public org.openwms.core.units.api.Measurable getQuantity() -
setQuantity
public void setQuantity(org.openwms.core.units.api.Measurable quantity) -
getActualLocation
-
setActualLocation
-
equals
-
hashCode
public int hashCode() -
toString
-