Class ResourceRefReferredTypeAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaResourceModel,ResourceRef>
de.hybris.platform.tuawebservicesresources.mappers.resourceref.ResourceRefReferredTypeAttributeMapper
public class ResourceRefReferredTypeAttributeMapper
extends TuaAttributeMapper<TuaResourceModel,ResourceRef>
This attribute Mapper class maps data for atReferredType attribute between
TuaResourceModel and ResourceRef- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionResourceRefReferredTypeAttributeMapper(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
-
ResourceRefReferredTypeAttributeMapper
-
-
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
-