xpfValidateWhereRule

FUNCTION xpfValidateWhereRule (instanceId     : GENERIC;
                               whereRuleId    : 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 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 . The EDMsupervisor  and the interactive EDMdebugger can be used for testing and debugging local rules as well as getting detailed information of a validation process.

Arguments


TypeNameComment
GENERICinstanceIdUnique id representing an instance within the EDMdatabase
GENERICwhereRuleIdUnique id representing the where rule within the EDMdatabase
STRINGuserOutputFileThe path to the output file

Return Value


 

TypeNameComment
LOGICALresultcomments

Options


 

Example


<Missing Example>

 

See also

Filter by label

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