Class ProductTermDurationAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaProductTermModel,ProductTerm>
de.hybris.platform.tuawebservicesresources.mappers.productterm.ProductTermDurationAttributeMapper
public class ProductTermDurationAttributeMapper
extends TuaAttributeMapper<TuaProductTermModel,ProductTerm>
This attribute Mapper class maps data for duration attribute between
TuaProductTermModel and
ProductTerm- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionProductTermDurationAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateTargetAttributeFromSource(TuaProductTermModel source, ProductTerm 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, populateSourceAttributeFromTarget
-
Constructor Details
-
ProductTermDurationAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaProductTermModel source, ProductTerm 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<TuaProductTermModel,ProductTerm> - Parameters:
source- source objecttarget- target object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-