com.ibm.jtopenlite.command
Class OutputParameter

java.lang.Object
  extended by com.ibm.jtopenlite.command.Parameter
      extended by com.ibm.jtopenlite.command.OutputParameter

public class OutputParameter
extends Parameter

Represents a program parameter to be used as output.


Field Summary
 
Fields inherited from class com.ibm.jtopenlite.command.Parameter
TYPE_INPUT, TYPE_INPUT_OUTPUT, TYPE_NULL, TYPE_OUTPUT
 
Constructor Summary
OutputParameter(int outputLength)
          Constructs a parameter with the specified output length.
 
Method Summary
 int getMaxLength()
          Returns the maximum length of this parameter, which is the output length.
 byte[] getOutputData()
          Returns the output data.
 int getOutputLength()
          Returns the output length.
protected  void setOutputData(byte[] data)
           
 
Methods inherited from class com.ibm.jtopenlite.command.Parameter
getInputData, getInputLength, getType, isInput, isOutput, parseInt, parseString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputParameter

public OutputParameter(int outputLength)
Constructs a parameter with the specified output length.

Method Detail

getOutputLength

public int getOutputLength()
Returns the output length.

Overrides:
getOutputLength in class Parameter

getMaxLength

public int getMaxLength()
Returns the maximum length of this parameter, which is the output length.

Overrides:
getMaxLength in class Parameter

setOutputData

protected void setOutputData(byte[] data)
Overrides:
setOutputData in class Parameter

getOutputData

public byte[] getOutputData()
Returns the output data.

Overrides:
getOutputData in class Parameter