Class AgreementItemTmaProductOfferingAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaAgreementItemModel,AgreementItem>
de.hybris.platform.tuawebservicesresources.v3.mappers.agreementitem.AgreementItemTmaProductOfferingAttributeMapper
public class AgreementItemTmaProductOfferingAttributeMapper
extends TuaAttributeMapper<TuaAgreementItemModel,AgreementItem>
This attribute Mapper class maps data for product offering attribute between
TuaAgreementItemModel and AgreementItem- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionAgreementItemTmaProductOfferingAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaGenericService tuaGenericService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadeprotected TmaProductOfferingModelgetProductOffering(ProductOfferingRef productOfferingRef, ma.glasnost.orika.MappingContext context) protected TuaGenericServicevoidpopulateSourceAttributeFromTarget(AgreementItem target, TuaAgreementItemModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaAgreementItemModel source, AgreementItem 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
-
AgreementItemTmaProductOfferingAttributeMapper
public AgreementItemTmaProductOfferingAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaGenericService tuaGenericService)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaAgreementItemModel source, AgreementItem 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<TuaAgreementItemModel,AgreementItem> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(AgreementItem target, TuaAgreementItemModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaAgreementItemModel,AgreementItem> - Parameters:
target- target objectsource- source object
-
getProductOffering
protected TmaProductOfferingModel getProductOffering(ProductOfferingRef productOfferingRef, ma.glasnost.orika.MappingContext context) -
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade() -
getTuaGenericService
-