...
Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpfValidateWhereRuleBN (instanceId : GENERIC;
whereRuleName : STRING;
ruleSchemaId : GENERIC;
userOutputFile : STRING)
result : LOGICAL;
|
The xpfValidateWhereRule function invokes the EDMmodelChecker to validate the specified instance against the specified local rule (Where rule). The specified local rule must be defined in the dictionary model (Express schema) that is the underlying schema of the data model that hosts the actual instance, or the local rule must be defined in an EDMruleSchema appropriate to the specified instance. The whereRuleId that uniquely identifies a Where rule in the <ruleSchemaId> argument.
an EDMdatabase can be retrieved by the xpfGetWhereRule operation. The data model that hosts the specified instance must be open before this operation can be successfully performed.
The expressions logging can be used to log (trace) the execution of the local rule in the EDMexpressVM TM . The EDMsupervisorTM EDMsupervisor and the interactive EDMdebugger TM
can be used for testing and debugging local rules as well as getting detailed information of a validation process.
This function is equivalent to the EDMinterfaceTM function edmiValidateWherelRuleBN.
Arguments
...
Type | Name | Comment |
GENERIC | instanceId | Unique id representing an instance within the EDMdatabase |
STRING | whereRuleName | The name of the where rule |
GENERIC | ruleSchemaId | Unique id representing the rule schema within the EDMdatabase |
STRING | userOutputFile | The path to the output file |
Return Value
...
Type | Name | Comment |
LOGICAL | result | comments |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|