Class PrimitiveAttributePopulator

java.lang.Object
de.hybris.platform.inboundservices.persistence.populator.AbstractAttributePopulator
de.hybris.platform.inboundservices.persistence.populator.PrimitiveAttributePopulator
All Implemented Interfaces:
AttributePopulator

public class PrimitiveAttributePopulator extends AbstractAttributePopulator
  • Constructor Details

    • PrimitiveAttributePopulator

      public PrimitiveAttributePopulator()
  • Method Details

    • isApplicable

      protected boolean isApplicable(TypeAttributeDescriptor attribute, PersistenceContext context)
      Description copied from class: AbstractAttributePopulator
      Determines whether a specific implementation can provide value for the specified attribute.
      Specified by:
      isApplicable in class AbstractAttributePopulator
      Parameters:
      attribute - attribute to make the decision about.
      context - context that may be needed to make the decision.
      Returns:
      true, if this attribute processor is applicable to the specified attribute and can provide a value for it; false, otherwise.
    • populateAttribute

      protected void populateAttribute(ItemModel item, TypeAttributeDescriptor attribute, PersistenceContext context)
      Description copied from class: AbstractAttributePopulator
      Populates value of the specified item attribute.
      Specified by:
      populateAttribute in class AbstractAttributePopulator
      Parameters:
      item - item model to be populated.
      attribute - specifies, which attribute should be populated in the item.
      context - context information necessary to derive correct attribute value from the integration item.
    • setPrimitiveValueHandler

      public void setPrimitiveValueHandler(PrimitiveValueHandler primitiveValueHandler)