Class ProductRelationshipProductAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaProductRelationshipModel,ProductRelationship>
de.hybris.platform.tuawebservicesresources.mappers.productrelationship.ProductRelationshipProductAttributeMapper
public class ProductRelationshipProductAttributeMapper
extends TuaAttributeMapper<TuaProductRelationshipModel,ProductRelationship>
This attribute Mapper class maps data for product attribute between
TuaProductRelationshipModel and
ProductRelationship- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionProductRelationshipProductAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaGenericService tuaGenericService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadeprotected TuaGenericServicevoidpopulateSourceAttributeFromTarget(ProductRelationship target, TuaProductRelationshipModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaProductRelationshipModel 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.tuawebservicesresources.mappers.TuaAttributeMapper
getSourceAttributeName, getTargetAttributeName
-
Constructor Details
-
ProductRelationshipProductAttributeMapper
public ProductRelationshipProductAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaGenericService tuaGenericService)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaProductRelationshipModel source, ProductRelationship target, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the target attribute value obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTuaAttributeMapper<TuaProductRelationshipModel,ProductRelationship> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductRelationship target, TuaProductRelationshipModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaProductRelationshipModel,ProductRelationship> - Parameters:
target- target objectsource- source object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade() -
getTuaGenericService
-