Class TaxExemptionCertificateAttachmentAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaTaxExemptionCertificateModel,TaxExemptionCertificate>
de.hybris.platform.tuawebservicesresources.mappers.taxexemptioncertificate.TaxExemptionCertificateAttachmentAttributeMapper
public class TaxExemptionCertificateAttachmentAttributeMapper
extends TuaAttributeMapper<TuaTaxExemptionCertificateModel,TaxExemptionCertificate>
This attribute Mapper class maps data for attachment attribute between
TuaTaxExemptionCertificateModel and
TaxExemptionCertificate- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionTaxExemptionCertificateAttachmentAttributeMapper(String sourceAttributeName, String targetAttributeName, TuaEntityResourceNormalizer<AttachmentRefOrValue, CatalogUnawareMediaModel> tuaMediaModelEntityResourceNormalizer) -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(TaxExemptionCertificate target, TuaTaxExemptionCertificateModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaTaxExemptionCertificateModel source, TaxExemptionCertificate 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
-
TaxExemptionCertificateAttachmentAttributeMapper
public TaxExemptionCertificateAttachmentAttributeMapper(String sourceAttributeName, String targetAttributeName, TuaEntityResourceNormalizer<AttachmentRefOrValue, CatalogUnawareMediaModel> tuaMediaModelEntityResourceNormalizer)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaTaxExemptionCertificateModel source, TaxExemptionCertificate 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<TuaTaxExemptionCertificateModel,TaxExemptionCertificate> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(TaxExemptionCertificate target, TuaTaxExemptionCertificateModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaTaxExemptionCertificateModel,TaxExemptionCertificate> - Parameters:
target- target objectsource- source object
-
getTuaMediaModelEntityResourceNormalizer
protected TuaEntityResourceNormalizer<AttachmentRefOrValue,CatalogUnawareMediaModel> getTuaMediaModelEntityResourceNormalizer()
-