Class EntitlementModelToDataPopulator<SOURCE extends EntitlementModel,TARGET extends EntitlementData>
- java.lang.Object
-
- de.hybris.platform.entitlementfacades.entitlement.populator.EntitlementModelToDataPopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class EntitlementModelToDataPopulator<SOURCE extends EntitlementModel,TARGET extends EntitlementData> extends java.lang.Object implements Populator<SOURCE,TARGET>
Populate DTOEntitlementDatawith data fromEntitlementModel.
-
-
Constructor Summary
Constructors Constructor Description EntitlementModelToDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.
-
-
-
Method Detail
-
populate
public void populate(SOURCE source, TARGET target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends EntitlementModel,TARGET extends EntitlementData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
-