Interface ContextAwarePopulator<S,T,C>

Type Parameters:
S - - the type of the source object
T - - the type of the destination object
C - - the type of the context object
All Known Implementing Classes:
AsBoostItemConfigurationPopulator, AsBoostItemConfigurationReversePopulator, AsBoostRuleConfigurationPopulator, AsBoostRuleConfigurationReversePopulator, AsBoostRulePopulator, AsBoostRuleReversePopulator, AsConfigurableSearchConfigurationPopulator, AsConfigurationPopulator, AsConfigurationReversePopulator, AsFacetConfigurationPopulator, AsFacetConfigurationReversePopulator, AsFacetRangePopulator, AsFacetRangeReversePopulator, AsFacetValueConfigurationPopulator, AsFacetValueConfigurationReversePopulator, AsItemConfigurationPopulator, AsItemConfigurationReversePopulator, AsSearchConfigurationPopulator, AsSortConfigurationPopulator, AsSortConfigurationReversePopulator, AsSortExpressionPopulator, AsSortExpressionReversePopulator

public interface ContextAwarePopulator<S,T,C>
Interface for a populator. A populator sets values in a target instance based on values in the source instance. Populators are similar to converters except that unlike converters the target instance must already exist.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    populate(S source, T target, C context)
    Populate the target instance with values from the source instance.
  • Method Details

    • populate

      void populate(S source, T target, C context)
      Populate the target instance with values from the source instance.
      Parameters:
      source - - the source object
      target - - the target to fill
      target - - the target to fill