Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


 
SYNTAX:
 
xpfValidateGlobalRuleWithParameters (modelId                    : GENERIC;
                                     globalRuleId               : GENERIC;
                                     userOutputFile             : STRING;
                                     VAR returnValue            : GENERIC;
                                     numberOfParameters         : INTEGER;
                                     argument1, ... , argumentN : GENERIC)
                                     result                     : LOGICAL;
 
 
Invokes the EDMmodelCheckerTM 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 EDMdatabaseTM 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 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.
The actual data model must be open before this operation can be successfully performed.
 
See related functions: xpxGetNumberOfUserParameters, xpxGetUserParameter
This function is equivalent to the EDMinterfaceTM function edmiValidateGlobalRuleWithParameters.

  • No labels