Class EventIdAttributeMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<TmaAbstractEventPayload,Event>
de.hybris.platform.b2ctelcotmfevents.v1.mappers.event.EventIdAttributeMapper
This attribute Mapper class maps data for id attribute between
TmaAbstractEventPayload and
Event- Since:
- 2105
-
Constructor Summary
ConstructorsConstructorDescriptionEventIdAttributeMapper(de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator tmaEventIdGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGeneratorvoidpopulateTargetAttributeFromSource(TmaAbstractEventPayload source, Event 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, populateSourceAttributeFromTarget, setSourceAttributeName, setTargetAttributeName
-
Constructor Details
-
EventIdAttributeMapper
public EventIdAttributeMapper(de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator tmaEventIdGenerator)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TmaAbstractEventPayload source, Event 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<TmaAbstractEventPayload,Event> - Parameters:
source- source objecttarget- target object
-
getTmaEventIdGenerator
protected de.hybris.platform.servicelayer.keygenerator.impl.PersistentKeyGenerator getTmaEventIdGenerator()
-