Package org.openwms.wms.inventory.api
Class UomRelationVO
java.lang.Object
org.openwms.wms.inventory.api.UomRelationVO
A UomRelationVO defines and identifies an UOM for a given Product with an unique label. It is used to define the same Product in
various UOM, each one identified with a different label.
- Author:
- Heiko Scherrer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe internal representation code of the UOMRelation mapping.Arbitrary detail information on this product unit, might by populated with ERP information.private DimensionVOThe defined dimension of the UomRelation.private StringThe unique label of this UOMRelation mapping.The persistent unique key.The product this UOMRelation belongs to.private org.openwms.core.units.api.MeasurableThe assigned quantity of this UOMRelation mapping. -
Constructor Summary
ConstructorsConstructorDescriptionUomRelationVO(String label, org.openwms.core.units.api.Measurable quantity, DimensionVO dimension, Map<String, String> details) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getLabel()getpKey()org.openwms.core.units.api.MeasurablevoidvoidsetDescription(String description) voidsetDetails(Map<String, String> details) voidsetDimension(DimensionVO dimension) voidvoidvoidsetProduct(ProductVO product) voidsetQuantity(org.openwms.core.units.api.Measurable quantity)
-
Field Details
-
pKey
The persistent unique key. -
description
-
product
The product this UOMRelation belongs to. -
label
The unique label of this UOMRelation mapping. -
code
The internal representation code of the UOMRelation mapping. -
quantity
private org.openwms.core.units.api.Measurable quantityThe assigned quantity of this UOMRelation mapping. -
dimension
The defined dimension of the UomRelation. -
details
Arbitrary detail information on this product unit, might by populated with ERP information.
-
-
Constructor Details
-
UomRelationVO
public UomRelationVO() -
UomRelationVO
@ConstructorProperties({"label","quantity","dimension","details"}) public UomRelationVO(String label, org.openwms.core.units.api.Measurable quantity, DimensionVO dimension, Map<String, String> details)
-
-
Method Details
-
getpKey
-
setpKey
-
getDescription
-
setDescription
-
getProduct
-
setProduct
-
getLabel
-
setLabel
-
getCode
-
setCode
-
getQuantity
public org.openwms.core.units.api.Measurable getQuantity() -
setQuantity
public void setQuantity(org.openwms.core.units.api.Measurable quantity) -
getDimension
-
setDimension
-
getDetails
-
setDetails
-