Class ProductAffinityPopulator<SOURCE extends java.util.Map.Entry<java.lang.String,​Affinity>,​TARGET extends ProductAffinityData>

  • Type Parameters:
    SOURCE - Map.Entry
    TARGET - ProductAffinityData
    All Implemented Interfaces:
    Populator<SOURCE,​TARGET>

    public class ProductAffinityPopulator<SOURCE extends java.util.Map.Entry<java.lang.String,​Affinity>,​TARGET extends ProductAffinityData>
    extends java.lang.Object
    implements Populator<SOURCE,​TARGET>
    Populator for product affinity data.
    • Constructor Detail

      • ProductAffinityPopulator

        public ProductAffinityPopulator()
    • Method Detail

      • populate

        public void populate​(SOURCE affinityData,
                             TARGET productAffinityData)
        Description copied from interface: Populator
        Populate the target instance with values from the source instance.
        Specified by:
        populate in interface Populator<SOURCE extends java.util.Map.Entry<java.lang.String,​Affinity>,​TARGET extends ProductAffinityData>
        Parameters:
        affinityData - the source object
        productAffinityData - the target to fill
      • setProductFacade

        public void setProductFacade​(ProductFacade productFacade)