Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
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 parameterized. 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

...

TypeNameComment
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. 

GENERICreturnValue 
INTEGERnumberOfParametersNumber of arguments to be sent to the validation process
GENERICargument(n)Arguments to be sent to the validation process

Return Value

...

 

TypeNameComment
INTEGERresultcomments

Options

...

 

Example

...

Code Block
languagecpp
<Missing Example>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "extension_schema" and parent = "5636522"