Class PqAttributeMapper<SOURCE,TARGET>

java.lang.Object
de.hybris.platform.productqualificationtmfwebservices.v1.mappers.PqAttributeMapper<SOURCE,TARGET>
Direct Known Subclasses:
PoProductRefOrValueCharacteristicsAttributeMapper, PoProductRefOrValueOrderItemsAttributeMapper, PoQualificationDateAttributeMapper, PoQualificationHrefAttributeMapper, PoQualificationItemActionAttributeMapper, PoQualificationItemOfferingAttributeMapper, PoQualificationItemProductAttributeMapper, PoQualificationItemReasonAttributeMapper, PoQualificationItemRelationshipAttributeMapper, PoQualificationItemsAttributeMapper, PoQualificationPlaceAttributeMapper, PoQualificationRelatedPartyAttributeMapper, PoQualificationStateAttributeMapper, PqPoQualificationItemCharacteristicsAttributeMapper, PqProductOrderItemAppointmentAttributeMapper, PqProductSpecCharacteristicNameAttributeMapper, PqProductSpecCharacteristicValueAttributeMapper, PqProductSpecCharacteristicValueTypeAttributeMapper, ProductChildrenAttributeMapper, ProductPrOfferingAttributeMapper, ProductPrRelationshipAttributeMapper, ProductPrSpecificationAttributeMapper, ProductRelatedPlaceAttributeMapper, ProductRelationProductAttributeMapper, ProductRelationTypeAttributeMapper, ProductStatusAttributeMapper

public abstract class PqAttributeMapper<SOURCE,TARGET> extends Object
This attribute mapper class populates the value of a PqAttributeMapper attribute by processing a PqAttributeMapper object
Since:
2211
  • Constructor Details

    • PqAttributeMapper

      public PqAttributeMapper(String sourceAttributeName, String targetAttributeName)
  • Method Details

    • populateTargetAttributeFromSource

      public abstract void populateTargetAttributeFromSource(SOURCE source, TARGET target, ma.glasnost.orika.MappingContext context)
      Populates the target attribute value obtained by processing the source object.
      Parameters:
      source - source object
      target - target object
    • populateSourceAttributeFromTarget

      public void populateSourceAttributeFromTarget(TARGET target, SOURCE source, ma.glasnost.orika.MappingContext context)
      Populates the source attribute value obtained by processing the target object.
      Parameters:
      source - source object
      target - target object
    • getSourceAttributeName

      protected String getSourceAttributeName()
    • getTargetAttributeName

      protected String getTargetAttributeName()