public abstract class AbstractEventMapper extends Object implements IEventMapper
IEventMapper| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONFIG_NAME_TAG |
protected String |
m_ID |
protected Properties |
m_Properties |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEventMapper(String id,
Properties properties)
Create a mapper with a specific id and the given custom properties.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Get the mapper's displayable name.
|
String |
getDescription(Locale locale)
Get the mapper's localized displayable name.
|
IEventList |
getEvents(IEventBroker broker)
Returns a list of mapped event templates for all possible events this
mapper can send.
|
String |
getID()
Get the mapper's unique system id.
|
abstract IEvent |
map(IEvent event)
Map or transform an event prior to sending it to the receiver from one kind
to another which then is sent to the receiver.
|
protected String m_ID
protected Properties m_Properties
protected static final String CONFIG_NAME_TAG
protected AbstractEventMapper(String id, Properties properties) throws BaseException
id - idproperties - propertiesBaseException - Exception raised in failure situationpublic String getID()
getID in interface IEventMapperpublic String getDescription()
getDescription in interface IEventMapperpublic String getDescription(Locale locale)
getDescription in interface IEventMapperlocale - localepublic abstract IEvent map(IEvent event)
map in interface IEventMapperevent - event to be mappedpublic IEventList getEvents(IEventBroker broker)
getEvents in interface IEventMapperbroker - broker to be asked for all possible events of all of its
senders| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice