Class ClassCacheContainerPopulator
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.cps.populator.impl.ClassCacheContainerPopulator
-
- All Implemented Interfaces:
Populator<CPSMasterDataClass,CPSMasterDataClassContainer>
public class ClassCacheContainerPopulator extends java.lang.Object implements Populator<CPSMasterDataClass,CPSMasterDataClassContainer>
Responsible for translating the master data representation of a class (generalization of product) into its cache representation
-
-
Constructor Summary
Constructors Constructor Description ClassCacheContainerPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer>getCharacteristicSpecificConverter()voidpopulate(CPSMasterDataClass source, CPSMasterDataClassContainer target)Populate the target instance with values from the source instance.protected voidpopulateCharacteristicsSpecific(CPSMasterDataClass source, CPSMasterDataClassContainer target)protected voidpopulateCoreAttributes(CPSMasterDataClass source, CPSMasterDataClassContainer target)voidsetCharacteristicSpecificConverter(Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer> characteristicSpecificConverter)
-
-
-
Method Detail
-
populate
public void populate(CPSMasterDataClass source, CPSMasterDataClassContainer target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CPSMasterDataClass,CPSMasterDataClassContainer>- Parameters:
source- the source objecttarget- the target to fill
-
populateCharacteristicsSpecific
protected void populateCharacteristicsSpecific(CPSMasterDataClass source, CPSMasterDataClassContainer target)
-
populateCoreAttributes
protected void populateCoreAttributes(CPSMasterDataClass source, CPSMasterDataClassContainer target)
-
getCharacteristicSpecificConverter
protected Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer> getCharacteristicSpecificConverter()
-
setCharacteristicSpecificConverter
public void setCharacteristicSpecificConverter(Converter<CPSMasterDataCharacteristicSpecific,CPSMasterDataCharacteristicSpecificContainer> characteristicSpecificConverter)
- Parameters:
characteristicSpecificConverter- Converter characteristic master data on product or class level -> cache representation
-
-