MessageMapper will convert an object into a com.ibm.commerce.datatype.CommandProperty object. If the object cannot be converted, a null object is returned.
Field Summary | |
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. |
Method Summary | |
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. |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
public CommandProperty createFromMessage(java.lang.Object message)
public void destroy()
public java.lang.Integer getMessageMapperId()
public java.lang.String getMessageMapperName()
public void init(TypedProperty configuration)
public void setMessageMapperId(java.lang.Integer messageMapperId)
public void setMessageMapperName(java.lang.String name)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.