IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.server.flow.mapper
Class PassThroughReqObjMapper

java.lang.Object
  extended bycom.ibm.btt.server.flow.mapper.PassThroughReqObjMapper
All Implemented Interfaces:
RequestObjectMapper

public class PassThroughReqObjMapper
extends java.lang.Object
implements RequestObjectMapper

This class maps a request object directly to a data field.


Field Summary
static java.lang.String NULL_VALUE
          NULL_VALUE
 
Constructor Summary
PassThroughReqObjMapper()
           
 
Method Summary
 DataElement mapRequestObject(java.lang.Object reqObj, DataElement dataElement)
          Maps the request object to the data element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_VALUE

public static final java.lang.String NULL_VALUE
NULL_VALUE

See Also:
Constant Field Values
Constructor Detail

PassThroughReqObjMapper

public PassThroughReqObjMapper()
Method Detail

mapRequestObject

public DataElement mapRequestObject(java.lang.Object reqObj,
                                    DataElement dataElement)
                             throws java.lang.Exception
Maps the request object to the data element.

Exception will be thrown out if the data element is not a data field.

NULL_VALUE string is converted to Null value, and then saved.

Specified by:
mapRequestObject in interface RequestObjectMapper
Parameters:
reqObj - The request object.
dataElement - The data element.
Returns:
com.ibm.btt.base.DataElement The data element.
Throws:
java.lang.Exception

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005