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