Package org.openwms.wms.inventory
Class UnitConverter
java.lang.Object
com.github.dozermapper.core.DozerConverter<org.openwms.core.units.api.Measurable,UnitTypeVO>
org.openwms.wms.inventory.UnitConverter
- All Implemented Interfaces:
com.github.dozermapper.core.ConfigurableCustomConverter
,com.github.dozermapper.core.CustomConverter
public class UnitConverter
extends com.github.dozermapper.core.DozerConverter<org.openwms.core.units.api.Measurable,UnitTypeVO>
A UnitConverter.
- Author:
- Heiko Scherrer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openwms.core.units.api.Measurable
convertFrom
(UnitTypeVO source, org.openwms.core.units.api.Measurable destination) convertTo
(org.openwms.core.units.api.Measurable source, UnitTypeVO destination) Methods inherited from class com.github.dozermapper.core.DozerConverter
convert, convertFrom, convertTo, getParameter, setParameter
-
Constructor Details
-
UnitConverter
public UnitConverter()
-
-
Method Details
-
convertTo
- Specified by:
convertTo
in classcom.github.dozermapper.core.DozerConverter<org.openwms.core.units.api.Measurable,
UnitTypeVO>
-
convertFrom
public org.openwms.core.units.api.Measurable convertFrom(UnitTypeVO source, org.openwms.core.units.api.Measurable destination) - Specified by:
convertFrom
in classcom.github.dozermapper.core.DozerConverter<org.openwms.core.units.api.Measurable,
UnitTypeVO>
-