Class ProductChildrenAttributeMapper
java.lang.Object
de.hybris.platform.productqualificationtmfwebservices.v1.mappers.PqAttributeMapper<PqProductData,ProductRefOrValue>
de.hybris.platform.productqualificationtmfwebservices.v1.mappers.productreforvalue.ProductChildrenAttributeMapper
public class ProductChildrenAttributeMapper
extends PqAttributeMapper<PqProductData,ProductRefOrValue>
This attribute Mapper class maps data for children attribute between
ProductRefOrValue and PqProductData- Since:
- 2211
-
Constructor Summary
ConstructorsConstructorDescriptionProductChildrenAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(ProductRefOrValue target, PqProductData source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(PqProductData source, ProductRefOrValue 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
-
ProductChildrenAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(PqProductData source, ProductRefOrValue 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<PqProductData,ProductRefOrValue> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductRefOrValue target, PqProductData source, ma.glasnost.orika.MappingContext context) Description copied from class:PqAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classPqAttributeMapper<PqProductData,ProductRefOrValue> - Parameters:
target- target objectsource- source object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-