Class CharacteristicMasterDataPopulator
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.cps.populator.impl.CharacteristicMasterDataPopulator
-
- All Implemented Interfaces:
ContextualPopulator<CPSCharacteristic,CsticModel,MasterDataContext>
public class CharacteristicMasterDataPopulator extends java.lang.Object implements ContextualPopulator<CPSCharacteristic,CsticModel,MasterDataContext>
Responsible to populate characteristics
-
-
Constructor Summary
Constructors Constructor Description CharacteristicMasterDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MasterDataContainerResolvergetMasterDataResolver()protected TextConverterBasegetTextConverterBase()protected intgetValueType(java.lang.String type)voidpopulate(CPSCharacteristic source, CsticModel target, MasterDataContext ctxt)Populate the target instance from the source instance.voidsetMasterDataResolver(MasterDataContainerResolver masterDataResolver)voidsetTextConverterBase(TextConverterBase textConverterBase)
-
-
-
Method Detail
-
populate
public void populate(CPSCharacteristic source, CsticModel target, MasterDataContext ctxt)
Description copied from interface:ContextualPopulatorPopulate the target instance from the source instance. The collection of options is used to control what data is populated.- Specified by:
populatein interfaceContextualPopulator<CPSCharacteristic,CsticModel,MasterDataContext>- Parameters:
source- the source objecttarget- the target to fillctxt- populating context
-
getValueType
protected int getValueType(java.lang.String type)
-
getMasterDataResolver
protected MasterDataContainerResolver getMasterDataResolver()
-
setMasterDataResolver
public void setMasterDataResolver(MasterDataContainerResolver masterDataResolver)
-
getTextConverterBase
protected TextConverterBase getTextConverterBase()
-
setTextConverterBase
public void setTextConverterBase(TextConverterBase textConverterBase)
-
-