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