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