Class PoTermDurationAttributeMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<SubscriptionTermData,ProductOfferingTerm>
de.hybris.platform.b2ctelcotmfwebservices.mappers.productofferingterm.PoTermDurationAttributeMapper
public class PoTermDurationAttributeMapper
extends TmaAttributeMapper<SubscriptionTermData,ProductOfferingTerm>
This attribute Mapper class maps data for duration attribute between
SubscriptionTermData and
ProductOfferingTerm- Since:
- 1903
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(ProductOfferingTerm target, SubscriptionTermData source, ma.glasnost.orika.MappingContext context) Populates the source attribute value by obtained by processing the target object.voidpopulateTargetAttributeFromSource(SubscriptionTermData source, ProductOfferingTerm target, ma.glasnost.orika.MappingContext context) Populates the target attribute value by obtained by processing the source object.Methods inherited from class de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper
getSourceAttributeName, getTargetAttributeName, setSourceAttributeName, setTargetAttributeName
-
Constructor Details
-
PoTermDurationAttributeMapper
public PoTermDurationAttributeMapper()
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(SubscriptionTermData source, ProductOfferingTerm target, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the target attribute value by obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTmaAttributeMapper<SubscriptionTermData,ProductOfferingTerm> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductOfferingTerm target, SubscriptionTermData source, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the source attribute value by obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTmaAttributeMapper<SubscriptionTermData,ProductOfferingTerm> - Parameters:
target- target objectsource- source object
-