...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
GENERIC | modelId | Unique Id of the model within the EDMdatabase |
GENERIC | globalRuleId | Unique Id of the global rule within the EDMdatabase |
STRING | userOutputFile | Path to the the output file |
GENERIC | returnValue | The value returned from the validation process |
INTEGER | numberOfParameters | Number of given arguments |
GENERIC | argument(1) | Arguments to be supplied to the global rule validation process |
Return Value
...
Type | Name | Comment |
LOGICAL | result | comments |
Options
...
See related functions: xpxGetNumberOfUserParameters, xpxGetUserParameter
This function is equivalent to the EDMinterfaceTM function edmiValidateGlobalRuleWithParameters.
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|