...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpfValidateGlobalRule (modelId : GENERIC;
globalRuleId : GENERIC;
userOutputFile : STRING)
result : LOGICAL;
|
The xpfValidateGlobalRule function invokes the EDMmodelChecker TM 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 actual data model must be open before this operation can be successfully performed.
The expressions logging can be used to log (trace) the execution of the global rule in the EDMexpressVM TM . The EDMsupervisorTM EDMsupervisor and the interactive EDMdebuggerTM EDMdebugger can be used for testing and debugging global rules as well as getting detailed information of a validation process.
A globalRuleId can be retrieved by the xpfGetGlobalRule operation.
This function is equivalent to the EDMinterfaceTM function edmiValidateGlobalRule.
Arguments
...
Type | Name | Comment |
GENERIC | modelId | |
GENERIC | globalRuleId | |
STRING | userOutputFile | comments |
Return Value
...
Type | Name | Comment |
LOGICAL | result | comments |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|