Class ProductRelationTypeAttributeMapper
java.lang.Object
de.hybris.platform.productqualificationtmfwebservices.v1.mappers.PqAttributeMapper<PqProductRelationshipData,ProductRelationship>
de.hybris.platform.productqualificationtmfwebservices.v1.mappers.productrelationship.ProductRelationTypeAttributeMapper
public class ProductRelationTypeAttributeMapper
extends PqAttributeMapper<PqProductRelationshipData,ProductRelationship>
This attribute Mapper class maps data for relationshipType attribute between
PqProductRelationshipData and ProductRelationship- Since:
- 2211
-
Constructor Summary
ConstructorsConstructorDescriptionProductRelationTypeAttributeMapper(String sourceAttributeName, String targetAttributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(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
-
ProductRelationTypeAttributeMapper
-
-
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
-