Class TestProductNamePopulator
java.lang.Object
de.hybris.platform.converters.config.TestProductNamePopulator
- All Implemented Interfaces:
Populator<ProductModel,TestProductData>
public class TestProductNamePopulator
extends Object
implements Populator<ProductModel,TestProductData>
Product populator for testing purposes. Only populates the product code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(ProductModel source, TestProductData target) Populate the target instance with values from the source instance.
-
Constructor Details
-
TestProductNamePopulator
public TestProductNamePopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<ProductModel,TestProductData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-