|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.progress.open4gl.javaproxy.ParamArray
public class ParamArray
An object containing an array for passing parameters to an ABL procedure or user-defined function.
Constructor Summary | |
---|---|
ParamArray(int numParams)
Creates a parameter set object |
Method Summary | |
---|---|
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 |
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 |
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 |
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 |
clear()
Clears the object for reuse |
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()
Allows you to specify the return type for a user-defined function. |
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 |
setReturnType(int value)
Allows you to specify the return type for a user-defined function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParamArray(int numParams)
numParams
- number of parameters being passedMethod Detail |
---|
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
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 data
Open4GLException
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 OUTPUT
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 data
Open4GLException
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 OUTPUT
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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_TABLEHANDLE
Open4GLException
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_TABLEHANDLE
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 array
Open4GLException
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 OUTPUT
Open4GLException
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 array
Open4GLException
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 data
Open4GLException
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 data
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 data
Open4GLException
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 data
Open4GLException
public void clear()
public java.lang.Object getOutputParameter(int position) throws Open4GLException
position
- Specifies the 0-based index indicating the parameter position
Open4GLException
public java.lang.String getProcReturnString()
public java.lang.Object getReturnValue()
value
- Specifies ABL data type returned by user-defined function (use constants in com.progress.open4gl.Parameter class)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 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
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |