public abstract class OutputExtentParameter<T extends BaseDataType> extends AbstractExtentParameter<T>
AbstractParameter.Scope, AbstractParameter.WorkAreaargType, convCtor, paramType, retConvCtorcontext, LOG| Constructor and Description |
|---|
OutputExtentParameter()
The constructor responsible for instance initialization by calling
AbstractExtentParameter(BaseDataType[]). |
OutputExtentParameter(T[] variable)
This constructor allows to provide additional initialization logic of the variable
reference in the extending classes.
|
| Modifier and Type | Method and Description |
|---|---|
T[] |
initParameter()
Initializes the indeterminate extent parameter reference.
|
T[] |
initParameter(int extent)
Initializes the indeterminate or determinate extent parameter reference depending
on the
extent value. |
static character[] |
toCharacter(longchar[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static date[] |
toDate(datetime[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static date[] |
toDate(datetimetz[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static datetime[] |
toDatetime(date[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static datetime[] |
toDatetime(datetimetz[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static datetimetz[] |
toDatetimeTz(date[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static datetimetz[] |
toDatetimeTz(datetime[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static decimal[] |
toDecimal(int64[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static decimal[] |
toDecimal(integer[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static int64[] |
toInt64(decimal[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static int64[] |
toInt64(integer[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static integer[] |
toInteger(decimal[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static integer[] |
toInteger(int64[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
static longchar[] |
toLongchar(character[] input)
Copy the input array into an output array, using the output type constructor for each non-null
element.
|
protected boolean |
validateAssignment(java.lang.String endingRoutine,
boolean function)
Output parameter validation logic.
|
assign, getParameter, getVariable, getVariableRef, getVariableSafe, performAssignment, registerParameter, release, setParameter, setReturnConversion, setVariablecanRelease, getCurrentScope, getLocalParam, getScopeable, isExtentParameter, isParameter, isTableField, postProcessOutput, replaceParameterpublic OutputExtentParameter()
AbstractExtentParameter(BaseDataType[]).public OutputExtentParameter(T[] variable)
AbstractExtentParameter(BaseDataType[]).variable - A valid and initialized variable reference.public static integer[] toInteger(int64[] input)
input - The input array.public static integer[] toInteger(decimal[] input)
input - The input array.public static decimal[] toDecimal(integer[] input)
input - The input array.public static decimal[] toDecimal(int64[] input)
input - The input array.public static int64[] toInt64(integer[] input)
input - The input array.public static int64[] toInt64(decimal[] input)
input - The input array.public static character[] toCharacter(longchar[] input)
input - The input array.public static longchar[] toLongchar(character[] input)
input - The input array.public static date[] toDate(datetime[] input)
input - The input array.public static date[] toDate(datetimetz[] input)
input - The input array.public static datetime[] toDatetime(datetimetz[] input)
input - The input array.public static datetime[] toDatetime(date[] input)
input - The input array.public static datetimetz[] toDatetimeTz(date[] input)
input - The input array.public static datetimetz[] toDatetimeTz(datetime[] input)
input - The input array.public T[] initParameter()
initParameter in class AbstractExtentParameter<T extends BaseDataType>public T[] initParameter(int extent)
extent value. A zero value will initialize an indeterminate
extent, a positive integer will initialize a determinate extent. The extent
will be registered with ArrayAssigner accordingly.initParameter in class AbstractExtentParameter<T extends BaseDataType>extent - The parameter extent size.protected boolean validateAssignment(java.lang.String endingRoutine,
boolean function)
validateAssignment in class AbstractExtentParameter<T extends BaseDataType>endingRoutine - The legacy name of the routine that is ending when these back assignments are
performed.function - true if the called routine is a function.true if parameter is valid or false if it failed validation