Class AbstractChargeEntryPopulator<SOURCE extends ChargeEntryModel,TARGET extends ChargeEntryData>
- java.lang.Object
-
- de.hybris.platform.subscriptionfacades.product.converters.populator.AbstractChargeEntryPopulator<SOURCE,TARGET>
-
- Type Parameters:
SOURCE- source classTARGET- target class
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
- Direct Known Subclasses:
AbstractUsageChargeEntryPopulator,OneTimeChargeEntryPopulator,RecurringChargeEntryPopulator
public abstract class AbstractChargeEntryPopulator<SOURCE extends ChargeEntryModel,TARGET extends ChargeEntryData> extends java.lang.Object implements Populator<SOURCE,TARGET>
Populate DTOUsageChargeEntryDatawith data fromUsageChargeEntryModel.
-
-
Constructor Summary
Constructors Constructor Description AbstractChargeEntryPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommonI18NServicegetCommonI18NService()protected PriceDataFactorygetPriceDataFactory()voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetPriceDataFactory(PriceDataFactory priceDataFactory)
-
-
-
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 ChargeEntryModel,TARGET extends ChargeEntryData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getPriceDataFactory
protected PriceDataFactory getPriceDataFactory()
-
setPriceDataFactory
public void setPriceDataFactory(PriceDataFactory priceDataFactory)
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
-