Package org.openwms.wms.inventory
Class ProductMapper
java.lang.Object
org.openwms.wms.inventory.ProductMapper
- Direct Known Subclasses:
ProductMapperImpl
A ProductMapper.
- Author:
- Heiko Scherrer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DimensionMapperprotected LocationMapperprotected ProductRepositoryprotected UomRelationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate List<UomRelation> convert(List<UomRelationVO> units, Product product) convert(List<Product> entities, CycleAvoidingMappingContext cycleAvoidingMappingContext) abstract ProductVOconvert(Product entity, CycleAvoidingMappingContext cycleAvoidingMappingContext) abstract UomRelationVOconvertTo(UomRelation entity) abstract ProductMOconvertToMO(Product entity) voidprivate voidvoidsetDimensionMapper(DimensionMapper dimensionMapper) voidsetLocationMapper(LocationMapper locationMapper) voidsetProductRepository(ProductRepository productRepository) voidsetUomRelationService(UomRelationService uomRelationService)
-
Field Details
-
productRepository
-
uomRelationService
-
dimensionMapper
-
locationMapper
-
-
Constructor Details
-
ProductMapper
public ProductMapper()
-
-
Method Details
-
setProductRepository
-
setUomRelationService
-
setDimensionMapper
-
setLocationMapper
-
convertToMO
-
convertTo
-
convert
-
convertVO
-
copy
-
copyValue
-
convertVO
-
convertVO
-
convert
public abstract ProductVO convert(Product entity, CycleAvoidingMappingContext cycleAvoidingMappingContext) -
convert
public abstract List<ProductVO> convert(List<Product> entities, CycleAvoidingMappingContext cycleAvoidingMappingContext) -
convert
-