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 String
Arbitrary detail information on this product unit, might by populated with ERP information.private DimensionVO
The defined dimension of the UomRelation.private String
The unique label of this UOMRelation mapping.The persistent unique key.The product this UOMRelation belongs to.private org.openwms.core.units.api.Measurable
The 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.Measurable
void
void
setDescription
(String description) void
setDetails
(Map<String, String> details) void
setDimension
(DimensionVO dimension) void
void
void
setProduct
(ProductVO product) void
setQuantity
(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
-
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
-