public class ParamArray
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MetaSchema |
m_metaSchema |
protected ParameterSet |
m_params |
Constructor and Description |
---|
ParamArray(int numParams)
Creates a parameter set object
|
Modifier and Type | Method and Description |
---|---|
void |
addCharacter(int position,
java.lang.String val,
int mode)
Adds a Character parameter
|
void |
addCharacterArray(int position,
java.lang.String[] val,
int mode,
int extentValue)
Adds a Character array parameter
|
void |
addCOMHandle(int position,
COMHandle val,
int mode)
Adds a COMHandle parameter
|
void |
addCOMHandleArray(int position,
COMHandle[] val,
int mode,
int extentValue)
Adds a COMHandle array parameter
|
void |
addDataset(int position,
ProDataGraph val,
int mode,
ProDataGraphMetaData metadata)
Adds a Dataset parameter as a ProDataGraph object
|
void |
addDataset(int position,
java.lang.String val,
int mode)
Adds a Dataset parameter (Version for serialized dataset)
|
void |
addDataset(int position,
java.lang.String val,
int mode,
boolean writeBeforeImage)
Adds a Dataset parameter (Version for serialized dataset)
|
void |
addDataset(int position,
java.lang.String val,
int mode,
boolean writeBeforeImage,
int serializeFormat)
Adds a Dataset parameter (Version for serialized dataset)
|
void |
addDatasetHandle(int position,
ProDataGraph val,
int mode,
ProDataGraphMetaData metadata)
Adds a Dataset Handle parameter as a ProDataGraph object
|
void |
addDatasetHandle(int position,
java.lang.String val,
int mode)
Adds a Dataset Handle parameter (Version for serialized dataset)
|
void |
addDatasetHandle(int position,
java.lang.String val,
int mode,
boolean writeBeforeImage)
Adds a Dataset Handle parameter (Version for serialized dataset)
|
void |
addDatasetHandle(int position,
java.lang.String val,
int mode,
boolean writeBeforeImage,
int serializeFormat)
Adds a Dataset Handle parameter (Version for serialized dataset)
|
void |
addDate(int position,
java.util.GregorianCalendar val,
int mode)
Adds a Date parameter
|
void |
addDateArray(int position,
java.util.GregorianCalendar[] val,
int mode,
int extentValue)
Adds a Date array parameter
|
void |
addDatetime(int position,
java.util.GregorianCalendar val,
int mode)
Adds a DateTime parameter
|
void |
addDatetimeArray(int position,
java.util.GregorianCalendar[] val,
int mode,
int extentValue)
Adds a DateTime array parameter
|
void |
addDatetimeTZ(int position,
java.util.GregorianCalendar val,
int mode)
Adds a DateTimeTZ parameter
|
void |
addDatetimeTZArray(int position,
java.util.GregorianCalendar[] val,
int mode,
int extentValue)
Adds a DateTimeTZ array parameter
|
void |
addDecimal(int position,
java.math.BigDecimal val,
int mode)
Adds a Decimal parameter
|
void |
addDecimalArray(int position,
java.math.BigDecimal[] val,
int mode,
int extentValue)
Adds a Decimal array parameter
|
void |
addHandle(int position,
Handle val,
int mode)
Adds a Handle parameter
|
void |
addHandleArray(int position,
Handle[] val,
int mode,
int extentValue)
Adds a Handle array parameter
|
void |
addInt64(int position,
long val,
int mode)
Adds an Int64 parameter
|
void |
addInt64(int position,
java.lang.Long val,
int mode)
Adds an Int64 parameter
|
void |
addInt64Array(int position,
long[] val,
int mode,
int extentValue)
Adds an Int64 array parameter
|
void |
addInt64Array(int position,
java.lang.Long[] val,
int mode,
int extentValue)
Adds an Int64 array parameter
|
void |
addInteger(int position,
java.lang.Integer val,
int mode)
Adds an Integer parameter
|
void |
addInteger(int position,
int val,
int mode)
Adds an Integer parameter
|
void |
addIntegerArray(int position,
int[] val,
int mode,
int extentValue)
Adds an Integer array parameter
|
void |
addIntegerArray(int position,
java.lang.Integer[] val,
int mode,
int extentValue)
Adds an Integer array parameter
|
void |
addLogical(int position,
boolean val,
int mode)
Adds a Logical parameter
|
void |
addLogical(int position,
java.lang.Boolean val,
int mode)
Adds a Logical parameter
|
void |
addLogicalArray(int position,
boolean[] val,
int mode,
int extentValue)
Adds a Logical array parameter
|
void |
addLogicalArray(int position,
java.lang.Boolean[] val,
int mode,
int extentValue)
Adds a Logical array parameter
|
void |
addLongchar(int position,
java.lang.String val,
int mode)
Adds a LongChar parameter
|
void |
addLongcharArray(int position,
java.lang.String[] val,
int mode,
int extentValue)
Adds a LongChar array parameter
|
void |
addMemptr(int position,
Memptr val,
int mode)
Adds a Memptr parameter
|
void |
addMemptrArray(int position,
Memptr[] val,
int mode,
int extentValue)
Adds a Memptr array parameter
|
void |
addParameter(int position,
java.lang.Object obj,
int paramMode,
int proType,
int extentValue,
ProDataGraphMetaData metadata)
A Generic means of adding a parameter
|
void |
addParameter(int position,
java.lang.Object obj,
int paramMode,
int proType,
int extentValue,
ProResultSetMetaDataImpl metadata)
A Generic means of adding a parameter
|
void |
addRaw(int position,
byte[] val,
int mode)
Adds a Raw parameter
|
void |
addRawArray(int position,
byte[][] val,
int mode,
int extentValue)
Adds a Raw array parameter
|
void |
addRecid(int position,
long val,
int mode)
Adds a Recid parameter
|
void |
addRecid(int position,
java.lang.Long val,
int mode)
Adds a Recid parameter
|
void |
addRecidArray(int position,
long[] val,
int mode,
int extentValue)
Adds a Recid array parameter
|
void |
addRecidArray(int position,
java.lang.Long[] val,
int mode,
int extentValue)
Adds a Recid array parameter
|
void |
addRowid(int position,
Rowid val,
int mode)
Adds a Rowid parameter
|
void |
addRowidArray(int position,
Rowid[] val,
int mode,
int extentValue)
Adds a Rowid array parameter
|
void |
addTable(int position,
ProDataGraph val,
int mode,
ProDataGraphMetaData metadata)
Adds a Temp-Table parameter as a ProDataGraph object
|
void |
addTable(int position,
java.sql.ResultSet val,
int mode,
ProResultSetMetaDataImpl metadata)
Adds a Temp-Table parameter as a ResultSet object
|
void |
addTable(int position,
java.lang.String val,
int mode)
Adds a Temp-Table parameter as a serialized string
|
void |
addTable(int position,
java.lang.String val,
int mode,
int serializeFormat)
Adds a Temp-Table parameter as a serialized string
|
void |
addTableHandle(int position,
ProDataGraph val,
int mode,
ProDataGraphMetaData metadata)
Adds a Table Handle parameter as a ProDataGraph object
|
void |
addTableHandle(int position,
java.sql.ResultSet val,
int mode,
ProResultSetMetaDataImpl metadata)
Adds a Table Handle parameter as a ResultSet object
|
void |
addTableHandle(int position,
java.lang.String val,
int mode)
Adds a Table Handle parameter (Version for serialized temp-table)
|
void |
addTableHandle(int position,
java.lang.String val,
int mode,
int serializeFormat)
Adds a Table Handle parameter (Version for serialized temp-table)
|
void |
clear()
Clears the object for reuse
|
InputErrorResetPolicy |
getInputErrorResetPolicy()
Retrieve the current value for the InputErrorResetPolicy setting.
|
OutputErrorResetPolicy |
getOutputErrorResetPolicy()
Retrieve the current value of the OutputErrorResetPolicy setting.
|
java.lang.Object |
getOutputParameter(int position)
After running a procedure or user-defined function, use this to access the
OUTPUT parameters.
|
java.lang.String |
getProcReturnString()
Retrieves the return value of the method most recently run.
|
java.lang.Object |
getReturnValue() |
void |
setInputErrorResetPolicy(InputErrorResetPolicy policy)
Assign the policy that controls the reset behavior of the ParamArray when an error
occurs processing the input side of an appserver request.
|
void |
setIsReturnExtent(boolean bIsReturnExtent)
Allows you to specify whether the return type for a user-defined function is
an extent (array)
|
void |
setIsReturnUnknown(boolean bIsReturnUnknown)
Allows you to specify whether the the return value for a user-defined
function can be Unknown
|
void |
setOutputErrorResetPolicy(OutputErrorResetPolicy policy)
Assign the policy that controls the reset behavior of the ParamArray when an error
occurs processing the output side of an appserver request.
|
void |
setReturnType(int value)
Allows you to specify the return type for a user-defined function.
|
protected final ParameterSet m_params
protected MetaSchema m_metaSchema
public ParamArray(int numParams)
numParams
- number of parameters being passedpublic void setInputErrorResetPolicy(InputErrorResetPolicy policy)
policy
- public InputErrorResetPolicy getInputErrorResetPolicy()
public void setOutputErrorResetPolicy(OutputErrorResetPolicy policy)
policy
- public OutputErrorResetPolicy getOutputErrorResetPolicy()
public void clear()
public void addLogical(int position, boolean val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addLogicalArray(int position, boolean[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addInteger(int position, int val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addIntegerArray(int position, int[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addInt64(int position, long val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addInt64Array(int position, long[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addRecid(int position, long val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addRecidArray(int position, long[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addLogical(int position, java.lang.Boolean val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addLogicalArray(int position, java.lang.Boolean[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addInteger(int position, java.lang.Integer val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addIntegerArray(int position, java.lang.Integer[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addInt64(int position, java.lang.Long val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addInt64Array(int position, java.lang.Long[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addRecid(int position, java.lang.Long val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addRecidArray(int position, java.lang.Long[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addDecimal(int position, java.math.BigDecimal val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addDecimalArray(int position, java.math.BigDecimal[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addCharacter(int position, java.lang.String val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addCharacterArray(int position, java.lang.String[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addLongchar(int position, java.lang.String val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addLongcharArray(int position, java.lang.String[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addDate(int position, java.util.GregorianCalendar val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addDateArray(int position, java.util.GregorianCalendar[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addDatetime(int position, java.util.GregorianCalendar val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addDatetimeArray(int position, java.util.GregorianCalendar[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addDatetimeTZ(int position, java.util.GregorianCalendar val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addDatetimeTZArray(int position, java.util.GregorianCalendar[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addRaw(int position, byte[] val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addRawArray(int position, byte[][] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addRowid(int position, Rowid val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addRowidArray(int position, Rowid[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addMemptr(int position, Memptr val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addMemptrArray(int position, Memptr[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addHandle(int position, Handle val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addHandleArray(int position, Handle[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addCOMHandle(int position, COMHandle val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addCOMHandleArray(int position, COMHandle[] val, int mode, int extentValue) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null for
an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTextentValue
- Specifies extent of the arrayOpen4GLException
public void addTable(int position, java.sql.ResultSet val, int mode, ProResultSetMetaDataImpl metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTmetadata
- Specifies the table's meta dataOpen4GLException
public void addTableHandle(int position, java.sql.ResultSet val, int mode, ProResultSetMetaDataImpl metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTmetadata
- Specifies the table's meta dataOpen4GLException
public void addTable(int position, ProDataGraph val, int mode, ProDataGraphMetaData metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTmetadata
- Specifies the table's meta dataOpen4GLException
public void addTable(int position, java.lang.String val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addTable(int position, java.lang.String val, int mode, int serializeFormat) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null
for an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTserializeFormat
- Specifies how Temp-table gets serialized (1 for XML, 2
for JSON)Open4GLException
public void addTableHandle(int position, ProDataGraph val, int mode, ProDataGraphMetaData metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTmetadata
- Specifies the table's meta dataOpen4GLException
public void addTableHandle(int position, java.lang.String val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies serialized temp-table, or null for an OUTPUT
parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addTableHandle(int position, java.lang.String val, int mode, int serializeFormat) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies serialized temp-table, or null for an OUTPUT
parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTserializeFormat
- Specifies how Temp-table gets serialized (1 for XML, 2
for JSON)Open4GLException
public void addDataset(int position, ProDataGraph val, int mode, ProDataGraphMetaData metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTmetadata
- Specifies the dataset's meta dataOpen4GLException
public void addDataset(int position, java.lang.String val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addDataset(int position, java.lang.String val, int mode, boolean writeBeforeImage) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null
for an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTwriteBeforeImage
- Specifies whether to serialize the dataset with
before-image dataOpen4GLException
public void addDataset(int position, java.lang.String val, int mode, boolean writeBeforeImage, int serializeFormat) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies a variable that contains its value, or null
for an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTwriteBeforeImage
- Specifies whether to serialize the dataset with
before-image dataserializeFormat
- Specifies how Dataset gets serialized (1 for XML, 2
for JSON)Open4GLException
public void addDatasetHandle(int position, ProDataGraph val, int mode, ProDataGraphMetaData metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies a variable that contains its value, or null for an
OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTmetadata
- Specifies the dataset's meta dataOpen4GLException
public void addDatasetHandle(int position, java.lang.String val, int mode) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionval
- Specifies serialized dataset, or null for an OUTPUT parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTOpen4GLException
public void addDatasetHandle(int position, java.lang.String val, int mode, boolean writeBeforeImage) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies serialized dataset, or null for an OUTPUT
parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTwriteBeforeImage
- Specifies whether to serialize the dataset with
before-image dataOpen4GLException
public void addDatasetHandle(int position, java.lang.String val, int mode, boolean writeBeforeImage, int serializeFormat) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionval
- Specifies serialized dataset, or null for an OUTPUT
parametermode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTwriteBeforeImage
- Specifies whether to serialize the dataset with
before-image dataserializeFormat
- Specifies how Dataset gets serialized (1 for XML, 2
for JSON)Open4GLException
public java.lang.Object getOutputParameter(int position) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter positionOpen4GLException
public void addParameter(int position, java.lang.Object obj, int paramMode, int proType, int extentValue, ProResultSetMetaDataImpl metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionobj
- Specifies a variable of the appropriate data type
containing parameter value, or null for OUTPUT parameter.paramMode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTproType
- Specifies its ABL data type (use constants in
com.progress.open4gl.Parameter class)extentValue
- Specifies the extent of array, zero for a scalar valuemetadata
- Specifies schema for parameter when proType is:
Parameter.PRO_TEMPTABLE or PRO_TABLEHANDLEOpen4GLException
public void addParameter(int position, java.lang.Object obj, int paramMode, int proType, int extentValue, ProDataGraphMetaData metadata) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter
positionobj
- Specifies a variable of the appropriate data type
containing parameter value, or null for OUTPUT parameter.paramMode
- Specifies the parameter's ABL mode: either
ParamArrayMode.INPUT, INPUT_OUTPUT or OUTPUTproType
- Specifies its ABL data type (use constants in
com.progress.open4gl.Parameter class)extentValue
- Specifies the extent of array, zero for a scalar valuemetadata
- Specifies schema for parameter when proType is:
Parameter.PRO_DATASET, PRO_DATASETHANDLE, PRO_TEMPTABLE,
or PRO_TABLEHANDLEOpen4GLException
public void setReturnType(int value) throws Open4GLException
value
- Specifies ABL data type returned by user-defined function (use
constants in com.progress.open4gl.Parameter class)Open4GLException
public java.lang.Object getReturnValue()
public void setIsReturnExtent(boolean bIsReturnExtent)
bIsReturnExtent
- If true, return type is an extent (array)public void setIsReturnUnknown(boolean bIsReturnUnknown)
bIsReturnUnknown
- If true, return value can be Unknownpublic java.lang.String getProcReturnString()