Class ResourceRefHrefAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaResourceModel,ResourceRef>
de.hybris.platform.tuawebservicesresources.mappers.resourceref.ResourceRefHrefAttributeMapper
public class ResourceRefHrefAttributeMapper
extends TuaAttributeMapper<TuaResourceModel,ResourceRef>
This attribute Mapper class maps data for href attribute between
TuaResourceModel and ResourceRef- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionResourceRefHrefAttributeMapper(String sourceAttributeName, String targetAttributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateTargetAttributeFromSource(TuaResourceModel source, ResourceRef 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
-
ResourceRefHrefAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaResourceModel source, ResourceRef 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<TuaResourceModel,ResourceRef> - Parameters:
source- source objecttarget- target object
-