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.


Fields inherited from interface com.ibm.commerce.programadapter.messagemapper.MessageMapper
COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
MessageMapperGenericImpl()
          MessageMapperGenericImpl constructor.
 
Method Summary
 CommandProperty createFromMessage(java.lang.Object message)
          Dummy method.
 void destroy()
          Dummy method.
 java.lang.Integer getMessageMapperId()
          Returns the MessageMapper Id.
 java.lang.String getMessageMapperName()
          Returns the MessageMapper name.
 void init(TypedProperty configuration)
          Dummy Method.
 void setMessageMapperId(java.lang.Integer messageMapperId)
          Sets the MessageMapper Id.
 void setMessageMapperName(java.lang.String name)
          Sets the MessageMapper name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageMapperGenericImpl

public MessageMapperGenericImpl()
MessageMapperGenericImpl constructor.
Method Detail

createFromMessage

public CommandProperty createFromMessage(java.lang.Object message)
Dummy method. Always returns null.
Specified by:
createFromMessage in interface MessageMapper
Following copied from interface: com.ibm.commerce.programadapter.messagemapper.MessageMapper
Parameters:
Object - message - the object to convert
Returns:
com.ibm.commerce.datatype.CommandProperty

destroy

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

getMessageMapperId

public java.lang.Integer getMessageMapperId()
Returns the MessageMapper Id.
Specified by:
getMessageMapperId in interface MessageMapper

getMessageMapperName

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

init

public void init(TypedProperty configuration)
Dummy Method.
Specified by:
init in interface MessageMapper
Following copied from interface: com.ibm.commerce.programadapter.messagemapper.MessageMapper
Parameters:
com.ibm.commerce.datatype.TypedProperty - configuration.

setMessageMapperId

public void setMessageMapperId(java.lang.Integer messageMapperId)
Sets the MessageMapper Id.
Specified by:
setMessageMapperId in interface MessageMapper

setMessageMapperName

public void setMessageMapperName(java.lang.String name)
Sets the MessageMapper name.
Specified by:
setMessageMapperName in interface MessageMapper