Class ProductRelationProductAttributeMapper
java.lang.Object
de.hybris.platform.productqualificationtmfwebservices.v1.mappers.PqAttributeMapper<PqProductRelationshipData,ProductRelationship>
de.hybris.platform.productqualificationtmfwebservices.v1.mappers.productrelationship.ProductRelationProductAttributeMapper
public class ProductRelationProductAttributeMapper
extends PqAttributeMapper<PqProductRelationshipData,ProductRelationship>
This attribute Mapper class maps data for product attribute between
PqProductRelationshipData and ProductRelationship- Since:
- 2211
-
Constructor Summary
ConstructorsConstructorDescriptionProductRelationProductAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(ProductRelationship target, PqProductRelationshipData source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(PqProductRelationshipData source, ProductRelationship target, ma.glasnost.orika.MappingContext context) Populates the target attribute value obtained by processing the source object.Methods inherited from class de.hybris.platform.productqualificationtmfwebservices.v1.mappers.PqAttributeMapper
getSourceAttributeName, getTargetAttributeName
-
Constructor Details
-
ProductRelationProductAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(PqProductRelationshipData source, ProductRelationship target, ma.glasnost.orika.MappingContext context) Description copied from class:PqAttributeMapperPopulates the target attribute value obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classPqAttributeMapper<PqProductRelationshipData,ProductRelationship> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductRelationship target, PqProductRelationshipData source, ma.glasnost.orika.MappingContext context) Description copied from class:PqAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classPqAttributeMapper<PqProductRelationshipData,ProductRelationship> - Parameters:
target- target objectsource- source object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-