Package com.adaptris.as400.params
Class PayloadCommandParameter
- java.lang.Object
-
- com.adaptris.as400.params.CommandParameter
-
- com.adaptris.as400.params.PayloadCommandParameter
-
- All Implemented Interfaces:
ServiceInputParameter,ServiceOutputParameter
public class PayloadCommandParameter extends CommandParameter implements ServiceOutputParameter, ServiceInputParameter
-
-
Constructor Summary
Constructors Constructor Description PayloadCommandParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtranslate(StringParameter source, AdaptrisMessage target)Export a parameter from String command result into the AdaptrisMessage object.voidtranslate(AdaptrisMessage source, StringParameter target)Export a parameter from AdaptrisMessage object into String command-
Methods inherited from class com.adaptris.as400.params.CommandParameter
getParameterName, setParameterName
-
-
-
-
Method Detail
-
translate
public void translate(StringParameter source, AdaptrisMessage target) throws java.lang.Exception
Description copied from interface:ServiceOutputParameterExport a parameter from String command result into the AdaptrisMessage object.- Specified by:
translatein interfaceServiceOutputParameter- Parameters:
source- the String returned from the as400 commandtarget- the Destination AdaptrisMessage- Throws:
java.lang.Exception
-
translate
public void translate(AdaptrisMessage source, StringParameter target) throws java.lang.Exception
Description copied from interface:ServiceInputParameterExport a parameter from AdaptrisMessage object into String command- Specified by:
translatein interfaceServiceInputParameter- Parameters:
source- the String returned from the as400 commandtarget- the Destination AdaptrisMessage- Throws:
java.lang.Exception
-
-