Class AnalyticsItemPopulator
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.pci.populator.impl.AnalyticsItemPopulator
-
- All Implemented Interfaces:
Populator<InstanceModel,AnalyticsItem>
public class AnalyticsItemPopulator extends java.lang.Object implements Populator<InstanceModel,AnalyticsItem>
Responsible for specifying the attributes of anAnalyticsItemaccording to theInstanceModel. It ignores data like consistency, completeness, quantity and units and only transports the assigned and possible values (which are relevant for the calculation of popularity of values)
-
-
Constructor Summary
Constructors Constructor Description AnalyticsItemPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanconsiderCsticForAnalytics(CsticModel cstic)voidpopulate(InstanceModel source, AnalyticsItem target)Populate the target instance with values from the source instance.protected voidpopulateCharacteristics(InstanceModel source, AnalyticsItem target)protected voidpopulatePossibleValues(CsticModel source, AnalyticsCharacteristic target)protected voidpopulateValues(CsticModel source, AnalyticsCharacteristic target)
-
-
-
Method Detail
-
populate
public void populate(InstanceModel source, AnalyticsItem target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<InstanceModel,AnalyticsItem>- Parameters:
source- the source objecttarget- the target to fill
-
populateCharacteristics
protected void populateCharacteristics(InstanceModel source, AnalyticsItem target)
-
considerCsticForAnalytics
protected boolean considerCsticForAnalytics(CsticModel cstic)
-
populatePossibleValues
protected void populatePossibleValues(CsticModel source, AnalyticsCharacteristic target)
-
populateValues
protected void populateValues(CsticModel source, AnalyticsCharacteristic target)
-
-