Interface ContextualPopulator<SOURCE,TARGET,CONTEXT>
-
- Type Parameters:
SOURCE
- type of source objectTARGET
- type of target objectCONTEXT
- type of context object
- All Known Implementing Classes:
CharacteristicGroupMasterDataPopulator
,CharacteristicMasterDataPopulator
,CharacteristicPopulator
,InstanceMasterDataPopulator
,InstancePopulator
,PossibleValueMasterDataPopulator
,PricingDocumentInputKBPopulator
,PricingDocumentInputPopulator
,PricingItemInputKBProductPopulator
,PricingItemInputPopulator
,ValueMasterDataPopulator
public interface ContextualPopulator<SOURCE,TARGET,CONTEXT>
Compared to ordinaryPopulator
s, a ContextualPopulator is context aware, meaning that a context can be provided for the populating process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
populate(SOURCE source, TARGET target, CONTEXT context)
Populate the target instance from the source instance.
-
-
-
Method Detail
-
populate
void populate(SOURCE source, TARGET target, CONTEXT context)
Populate the target instance from the source instance. The collection of options is used to control what data is populated.- Parameters:
source
- the source objecttarget
- the target to fillcontext
- populating contextoptions
- options used to control what data is populated
-
-