Interface ContextualPopulator<SOURCE,TARGET,CONTEXT>

Type Parameters:
SOURCE - type of source object
TARGET - type of target object
CONTEXT - type of context object

public interface ContextualPopulator<SOURCE,TARGET,CONTEXT>
Compared to ordinary Populators, a ContextualPopulator is context aware, meaning that a context can be provided for the populating process.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    populate(SOURCE source, TARGET target, CONTEXT context)
    Populate the target instance from the source instance.
  • Method Details

    • 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 object
      target - the target to fill
      context - populating context
      options - options used to control what data is populated