public class StringPayload extends PayloadParameter implements ImportParameter, ExportParameter
In the adapter configuration file this class is aliased as sapjco3-string-payload which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
StringPayload() |
StringPayload(java.lang.String paramName) |
Modifier and Type | Method and Description |
---|---|
void |
translate(com.adaptris.core.AdaptrisMessage source,
com.sap.conn.jco.JCoFunction target)
Import the AdaptrisMessage object into the RFC Parameter list.
|
void |
translate(com.sap.conn.jco.JCoFunction source,
com.adaptris.core.AdaptrisMessage target)
Export the JCoFunction into the AdaptrisMessage object.
|
getAdditionalDebug, getNullConverter, getParameterName, setAdditionalDebug, setNullConverter, setParameterName
public StringPayload()
public StringPayload(java.lang.String paramName)
public void translate(com.adaptris.core.AdaptrisMessage source, com.sap.conn.jco.JCoFunction target) throws JcoException
ImportParameter
translate
in interface ImportParameter
source
- the source AdaptrisMessagetarget
- the Destination RFC FunctionJcoException
- wrapping any com.sap.conn.jco.JCoExceptionpublic void translate(com.sap.conn.jco.JCoFunction source, com.adaptris.core.AdaptrisMessage target) throws JcoException
ExportParameter
translate
in interface ExportParameter
source
- the JCO.Functiontarget
- the Destination AdaptrisMessageJcoException
- wrapping any com.sap.conn.jco.JCoExceptionCopyright Adaptris