...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpfValidateWhereRuleWithParameters (currInst : GENERIC;
whereRuleId : GENERIC;
userOutputFile : STRING;
VAR returnValue : GENERIC;
numberOfParameters : INTEGER;
argument1, ... , argumentN : GENERIC)
result : INTEGER;
|
Invokes the EDMmodelCheckerTM to validate the specified instance against the specified local rule (Where rule). The specified local rule must be defined in the dictionary model (Express schema) that is the underlying schema of the data model that hosts the actual instance, or the local rule must be defined in an EDMruleSchema appropriate to the specified instance.
A number of arguments can be supplied to the ?"where rule validation process? " in the arguments argument1, ?, argumentN. Hence the validation process can be made parameterizedaccept parameters. The validation process can return a value to the caller through the returnValue argument. The value to return must be set in the validation process by invoking the xpxReturnValueToCaller operation.
See related functions: xpxGetNumberOfUserParameters, xpxGetUserParameter
The data model that hosts the specified instance must be open before this operation can be successfully performed.
This function is equivalent to the EDMinterfaceTM function edmiValidateWhereRuleWithParameters.
See related functions: xpxGetNumberOfUserParameters, xpxGetUserParameter
Arguments
...
Type | Name | Comment |
GENERIC | currInst | A numeric Id that uniquely identifies the instance in the EDMdatabase |
GENERIC | whereRuleId | A numeric Id that uniquely identifies the where rule in the EDMdatabase |
STRING | userOutputFile | Specifies the name of a file that will be used to receive the result of executing the xpxPrintf and xpxOutputValue function during the validation operation. |
GENERIC | returnValue | |
INTEGER | numberOfParameters | Number of arguments to be sent to the validation process |
GENERIC | argument(n) | Arguments to be sent to the validation process |
Return Value
...
Type | Name | Comment |
INTEGER | result | comments |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|