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