com.ibm.jtopenlite.command
Class InputParameter
- java.lang.Object
-
- com.ibm.jtopenlite.command.Parameter
-
- com.ibm.jtopenlite.command.InputParameter
-
- Direct Known Subclasses:
- IntegerInputParameter, StringInputParameter
public class InputParameter extends Parameter
Represents a program parameter to be used as input.
-
-
Field Summary
-
Fields inherited from class com.ibm.jtopenlite.command.Parameter
TYPE_INPUT, TYPE_INPUT_OUTPUT, TYPE_NULL, TYPE_OUTPUT
-
-
Constructor Summary
Constructors Constructor and Description InputParameter(byte[] inputData)
Constructs a parameter with the provided input data.
-
Method Summary
Methods Modifier and Type Method and Description byte[]
getInputData()
Returns the input data.int
getInputLength()
Returns the input length.int
getMaxLength()
Returns the maximum length of this parameter, which is the input length.-
Methods inherited from class com.ibm.jtopenlite.command.Parameter
getOutputData, getOutputLength, getType, isInput, isOutput, parseInt, parseString, setOutputData
-
-
-
-
Constructor Detail
-
InputParameter
public InputParameter(byte[] inputData)
Constructs a parameter with the provided input data.
-
-
Method Detail
-
getInputData
public byte[] getInputData()
Returns the input data.- Overrides:
getInputData
in classParameter
-
getInputLength
public int getInputLength()
Returns the input length.- Overrides:
getInputLength
in classParameter
-
getMaxLength
public int getMaxLength()
Returns the maximum length of this parameter, which is the input length.- Overrides:
getMaxLength
in classParameter
-
-