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 SummaryFieldsModifier and TypeFieldDescriptionprivate StringArbitrary 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 SummaryConstructorsConstructorDescriptionUomRelationVO(String label, org.openwms.core.units.api.Measurable quantity, DimensionVO dimension, Map<String, String> details) 
- 
Method SummaryModifier 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- 
pKeyThe persistent unique key.
- 
description
- 
productThe product this UOMRelation belongs to.
- 
labelThe unique label of this UOMRelation mapping.
- 
code
- 
quantityprivate org.openwms.core.units.api.Measurable quantityThe assigned quantity of this UOMRelation mapping.
- 
dimensionThe defined dimension of the UomRelation.
- 
detailsArbitrary detail information on this product unit, might by populated with ERP information.
 
- 
- 
Constructor Details- 
UomRelationVOpublic 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
- 
getQuantitypublic org.openwms.core.units.api.Measurable getQuantity()
- 
setQuantitypublic void setQuantity(org.openwms.core.units.api.Measurable quantity) 
- 
getDimension
- 
setDimension
- 
getDetails
- 
setDetails
 
-