public class ConstantParameter extends Parameter implements ImportParameter
In the adapter configuration file this class is aliased as sapjco3-constant-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
ConstantParameter() |
ConstantParameter(java.lang.String paramName,
java.lang.String constant) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
void |
setValue(java.lang.String s) |
void |
translate(AdaptrisMessage source,
com.sap.conn.jco.JCoFunction target)
Import the AdaptrisMessage object into the RFC Parameter list.
|
getAdditionalDebug, getNullConverter, getParameterName, setAdditionalDebug, setNullConverter, setParameterName
public ConstantParameter()
public ConstantParameter(java.lang.String paramName, java.lang.String constant)
public void translate(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 java.lang.String getValue()
public void setValue(java.lang.String s)
s
- the value to setCopyright Adaptris