Class CustomerReviewPopulator
- java.lang.Object
-
- de.hybris.platform.commercefacades.product.converters.populator.CustomerReviewPopulator
-
- All Implemented Interfaces:
Populator<CustomerReviewModel,ReviewData>
public class CustomerReviewPopulator extends java.lang.Object implements Populator<CustomerReviewModel,ReviewData>
Converter implementation forCustomerReviewModel
as source andReviewData
as target type.
-
-
Constructor Summary
Constructors Constructor Description CustomerReviewPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<PrincipalModel,PrincipalData>
getPrincipalConverter()
void
populate(CustomerReviewModel source, ReviewData target)
Populate the target instance with values from the source instance.void
setPrincipalConverter(Converter<PrincipalModel,PrincipalData> principalConverter)
-
-
-
Method Detail
-
getPrincipalConverter
protected Converter<PrincipalModel,PrincipalData> getPrincipalConverter()
-
setPrincipalConverter
public void setPrincipalConverter(Converter<PrincipalModel,PrincipalData> principalConverter)
-
populate
public void populate(CustomerReviewModel source, ReviewData target)
Description copied from interface:Populator
Populate the target instance with values from the source instance.- Specified by:
populate
in interfacePopulator<CustomerReviewModel,ReviewData>
- Parameters:
source
- the source objecttarget
- the target to fill
-
-