Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
FUNCTION xpfValidateGlobalRuleWithParameters (modelId                    : GENERIC;
                                              globalRuleId               : GENERIC;
                                              userOutputFile             : STRING;
                                              VAR returnValue            : GENERIC;
                                              numberOfParameters         : INTEGER;
                                              argument1, ... , argumentN : GENERIC)
                                              result                     : LOGICAL;
                

Invokes the EDMmodelChecker to validate the specified data model against the specified global rule. The specified global rule must be defined in the dictionary model (Express schema) that is the underlying schema of the specified data model, or the global rule must be defined in an EDMruleSchema appropriate to the specified data model.
The globalRuleId that uniquely identifies a global rule in an EDMdatabase TM can be retrieved by invoking the xpfGetGlobalRule operation.
 
A number of arguments can be supplied to the ?"global rule validation process? " in the arguments argument1, ?, argumentN. Hence the validation process can be made parameterizedhave 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.
The actual data model must be open before this operation can be successfully performed.

Arguments

...

TypeNameComment
GENERICmodelIdUnique Id of the model within the EDMdatabase
GENERICglobalRuleIdUnique Id of the global rule within the EDMdatabase
STRINGuserOutputFilePath to the the output file
GENERICreturnValueThe value returned from the validation process
INTEGERnumberOfParametersNumber of given arguments
GENERICargument(1)Arguments to be supplied to the global rule validation process

Return Value

...

 

TypeNameComment
LOGICALresultcomments

Options

...

  See related functions: xpxGetNumberOfUserParameters, xpxGetUserParameter
This function is equivalent to the EDMinterfaceTM function edmiValidateGlobalRuleWithParameters.

Example

...

Code Block
languagecpp
<Missing Example>

 

See also

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