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

« Previous Version 2 Current »

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 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 have 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


OptionComment
XPXSOMEOPTIONcomment

 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

 

  • No labels