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 forCustomerReviewModelas source andReviewDataas 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()voidpopulate(CustomerReviewModel source, ReviewData target)Populate the target instance with values from the source instance.voidsetPrincipalConverter(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:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CustomerReviewModel,ReviewData>- Parameters:
source- the source objecttarget- the target to fill
-
-