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 -
Method Summary
Modifier and TypeMethodDescriptionconvert(PointOfServiceDistanceData source) Converts the source object, creating a new instance of the destination typeprotected PointOfServiceDataprotected Converter<PointOfServiceModel,PointOfServiceData> voidsetPointOfServiceConverter(Converter<PointOfServiceModel, PointOfServiceData> pointOfServiceConverter) Methods inherited from class de.hybris.platform.converters.impl.AbstractPopulatingConverter
getPopulators, populate, removePopulatorsDuplicates, setPopulatorsMethods inherited from class de.hybris.platform.converters.impl.AbstractConverter
afterPropertiesSet, convert, createFromClass, getMyBeanName, setBeanName, setTargetClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
PointOfServiceDistanceConverter
public PointOfServiceDistanceConverter()
-
-
Method Details
-
getPointOfServiceConverter
-
setPointOfServiceConverter
public void setPointOfServiceConverter(Converter<PointOfServiceModel, PointOfServiceData> pointOfServiceConverter) -
convert
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
- Overrides:
createTargetin classAbstractConverter<PointOfServiceDistanceData,PointOfServiceData>
-