public interface MessageMapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The name of the default implementation of the interface.
|
static java.lang.String |
NAME
The name of the interface.
|
| Modifier and Type | Method and Description |
|---|---|
CommandProperty |
createFromMessage(java.lang.Object message)
Convert the given object into a com.ibm.commerce.datatype.CommandProperty object.
|
void |
destroy()
Cleanup when the MessageMapper is not needed anymore.
|
java.lang.Integer |
getMessageMapperId()
Returns the MessageMapper identifier.
|
java.lang.String |
getMessageMapperName()
Returns the Message Mapper name.
|
void |
init(TypedProperty configuration)
Initializes the MessageMapper based on the given configuration.
|
void |
setMessageMapperId(java.lang.Integer messageMapperId)
Sets the Message Mapper Identifier.
|
void |
setMessageMapperName(java.lang.String name)
Sets the Message Mapper name.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
CommandProperty createFromMessage(java.lang.Object message)
message - the object to convertvoid destroy()
java.lang.Integer getMessageMapperId()
java.lang.String getMessageMapperName()
void init(TypedProperty configuration)
configuration - the configuration for the message mapper.void setMessageMapperId(java.lang.Integer messageMapperId)
messageMapperId - the message mapper identifier.void setMessageMapperName(java.lang.String name)
name - the message mapper name.