Class DefaultModifableConfigurablePopulator<SOURCE,TARGET,OPTION>
java.lang.Object
de.hybris.platform.converters.impl.DefaultModifableConfigurablePopulator<SOURCE,TARGET,OPTION>
- All Implemented Interfaces:
ConfigurablePopulator<SOURCE,,TARGET, OPTION> ModifiableConfigurablePopulator<SOURCE,TARGET, OPTION>
- Direct Known Subclasses:
AbstractModifiableConfigurablePopulator
public class DefaultModifableConfigurablePopulator<SOURCE,TARGET,OPTION>
extends Object
implements ModifiableConfigurablePopulator<SOURCE,TARGET,OPTION>
Default implementation of the
ConfigurablePopulator implementing ModifiableConfigurablePopulator-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyModification(ConfigurablePopulatorModification<SOURCE, TARGET, OPTION> modification) voidpopulate(SOURCE source, TARGET target, Collection<OPTION> options) Populate the target instance from the source instance.void
-
Constructor Details
-
DefaultModifableConfigurablePopulator
public DefaultModifableConfigurablePopulator()
-
-
Method Details
-
applyModification
- Specified by:
applyModificationin interfaceModifiableConfigurablePopulator<SOURCE,TARGET, OPTION>
-
populate
public void populate(SOURCE source, TARGET target, Collection<OPTION> options) throws ConversionException Description copied from interface:ConfigurablePopulatorPopulate the target instance from the source instance. The collection of options is used to control what data is populated.- Specified by:
populatein interfaceConfigurablePopulator<SOURCE,TARGET, OPTION> - Parameters:
source- the source objecttarget- the target to filloptions- options used to control what data is populated- Throws:
ConversionException- if an error occurs
-
getPopulators
-
setPopulators
-