Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
FUNCTION xpfValidateInstance (instanceId              : GENERIC;
                              diagnosticFile          : STRING;
                              options                 : INTEGER;
                              ruleSchemaId            : GENERIC;
                              userOutputFile          : STRING;
                              VAR validationResultsId : GENERIC;
                              result                  : LOGICAL;
                

Use this function to ....The xpfValidateInstance function validates an instance, i.e. checks that the attribute values of the instance do not violate any of the constraints/rules defined in the corresponding entity definition. <instanceId>  The instance to be checked. <diagnosticFile> Name of file where the diagnostics are placed. The argument options specifies the options that should be used during the validation.

 

Arguments

...

TypeNameComment
GENERICinstanceIdInstance id of the instance to be validated
STRINGdiagnosticFilePath to the diagnostic file
INTEGERoptionsoptions, see below
GENERICruleSchemaIdUnique id of the rule schema within the EDMdatabase
STRINGuserOutputFilePath to the output file
GENERICvalidationResultsId 

...