Class PointOfServiceDistanceConverter
- java.lang.Object
-
- de.hybris.platform.converters.impl.AbstractConverter<SOURCE,TARGET>
-
- de.hybris.platform.converters.impl.AbstractPopulatingConverter<PointOfServiceDistanceData,PointOfServiceData>
-
- de.hybris.platform.commercefacades.storefinder.converters.PointOfServiceDistanceConverter
-
- All Implemented Interfaces:
Populator<PointOfServiceDistanceData,PointOfServiceData>,PopulatorList<PointOfServiceDistanceData,PointOfServiceData>,Converter<PointOfServiceDistanceData,PointOfServiceData>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean,org.springframework.core.convert.converter.Converter<PointOfServiceDistanceData,PointOfServiceData>
public class PointOfServiceDistanceConverter extends AbstractPopulatingConverter<PointOfServiceDistanceData,PointOfServiceData>
PointOfServer converter that also adds the distance data
-
-
Constructor Summary
Constructors Constructor Description PointOfServiceDistanceConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointOfServiceDataconvert(PointOfServiceDistanceData source)Converts the source object, creating a new instance of the destination typeprotected PointOfServiceDatacreateTarget()protected Converter<PointOfServiceModel,PointOfServiceData>getPointOfServiceConverter()voidsetPointOfServiceConverter(Converter<PointOfServiceModel,PointOfServiceData> pointOfServiceConverter)-
Methods inherited from class de.hybris.platform.converters.impl.AbstractPopulatingConverter
getPopulators, populate, removePopulatorsDuplicates, setPopulators
-
Methods inherited from class de.hybris.platform.converters.impl.AbstractConverter
afterPropertiesSet, convert, createFromClass, getMyBeanName, setBeanName, setTargetClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLogger
-
-
-
-
Method Detail
-
getPointOfServiceConverter
protected Converter<PointOfServiceModel,PointOfServiceData> getPointOfServiceConverter()
-
setPointOfServiceConverter
public void setPointOfServiceConverter(Converter<PointOfServiceModel,PointOfServiceData> pointOfServiceConverter)
-
convert
public PointOfServiceData convert(PointOfServiceDistanceData source) throws ConversionException
Description copied from interface:ConverterConverts the source object, creating a new instance of the destination type- Specified by:
convertin interfaceConverter<PointOfServiceDistanceData,PointOfServiceData>- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<PointOfServiceDistanceData,PointOfServiceData>- Overrides:
convertin classAbstractConverter<PointOfServiceDistanceData,PointOfServiceData>- Parameters:
source- the source object- Returns:
- the converted object
- Throws:
ConversionException- if an error occurs
-
createTarget
protected PointOfServiceData createTarget()
- Overrides:
createTargetin classAbstractConverter<PointOfServiceDistanceData,PointOfServiceData>
-
-