com.ibm.commerce.programadapter.messagemapper
Class MessageMapperGenericImpl

java.lang.Object
  |
  +--com.ibm.commerce.programadapter.messagemapper.MessageMapperGenericImpl
All Implemented Interfaces:
MessageMapper

public class MessageMapperGenericImpl
extends java.lang.Object
implements MessageMapper

Generic MessageMapper that contains the set and getters. To be used as a base of MessageMappers so other MessageMappers do not have to implement these redundant methods.


Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright notice field.
 
Fields inherited from interface com.ibm.commerce.programadapter.messagemapper. MessageMapper
defaultCommandClassName, NAME
 
Constructor Summary
MessageMapperGenericImpl()
          Creates the generic implementation of a Message Mapper object.
 
Method Summary
  CommandProperty createFromMessage(java.lang.Object message)
          Dummy method.
 void destroy()
          Dummy method.
 java.lang.Integer getMessageMapperId()
          Returns the MessageMapper Identifier.
 java.lang.String getMessageMapperName()
          Returns the MessageMapper name.
 void init( TypedProperty configuration)
          Dummy Method.
 void setMessageMapperId(java.lang.Integer messageMapperId)
          Sets the Message Mapper Identifier.
 void setMessageMapperName(java.lang.String name)
          Sets the Message Mapper name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright notice field.
See Also:
Constant Field Values
Constructor Detail

MessageMapperGenericImpl

public MessageMapperGenericImpl()
Creates the generic implementation of a Message Mapper object.
Method Detail

createFromMessage

public CommandProperty createFromMessage(java.lang.Object message)
Dummy method. Always returns null.
Specified by:
createFromMessage in interface MessageMapper
Parameters:
message - the object to convert
Returns:
Alway returns null.

destroy

public void destroy()
Dummy method.
Specified by:
destroy in interface MessageMapper

getMessageMapperId

public java.lang.Integer getMessageMapperId()
Returns the MessageMapper Identifier.
Specified by:
getMessageMapperId in interface MessageMapper
Returns:
The message mapper identifier.

getMessageMapperName

public java.lang.String getMessageMapperName()
Returns the MessageMapper name.
Specified by:
getMessageMapperName in interface MessageMapper
Returns:
The message mapper name.

init

public void init(TypedProperty configuration)
Dummy Method.
Specified by:
init in interface MessageMapper
Parameters:
configuration - the configuration for the message mapper.

setMessageMapperId

public void setMessageMapperId(java.lang.Integer messageMapperId)
Sets the Message Mapper Identifier.
Specified by:
setMessageMapperId in interface MessageMapper
Parameters:
messageMapperId - the message mapper identifier.

setMessageMapperName

public void setMessageMapperName(java.lang.String name)
Sets the Message Mapper name.
Specified by:
setMessageMapperName in interface MessageMapper
Parameters:
name - the name of the message mapper.