Class CustomerBillDocumentAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPartyBillModel,CustomerBill>
de.hybris.platform.tuawebservicesresources.mappers.customerbill.CustomerBillDocumentAttributeMapper
public class CustomerBillDocumentAttributeMapper
extends TuaAttributeMapper<TuaPartyBillModel,CustomerBill>
This attribute Mapper class maps data for billDocument attribute between
TuaPartyBillModel and CustomerBill- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionCustomerBillDocumentAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<AttachmentRefOrValue, CatalogUnawareMediaModel> tuaCatalogUnawareMediaResourceNormalizer) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(CustomerBill target, TuaPartyBillModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaPartyBillModel source, CustomerBill 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
-
CustomerBillDocumentAttributeMapper
public CustomerBillDocumentAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<AttachmentRefOrValue, CatalogUnawareMediaModel> tuaCatalogUnawareMediaResourceNormalizer)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaPartyBillModel source, CustomerBill 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<TuaPartyBillModel,CustomerBill> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(CustomerBill target, TuaPartyBillModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaPartyBillModel,CustomerBill> - Parameters:
target- target objectsource- source object
-
getTuaCatalogUnawareMediaResourceNormalizer
protected TuaEntityResourceNormalizer<AttachmentRefOrValue,CatalogUnawareMediaModel> getTuaCatalogUnawareMediaResourceNormalizer() -
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-