Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
GENERIC | instanceId | Instance id of the instance to be validated |
STRING | diagnosticFile | Path to the diagnostic file |
INTEGER | options | options, see below |
GENERIC | ruleSchemaId | Unique id of the rule schema within the EDMdatabase |
STRING | userOutputFile | Path to the output file |
GENERIC | validationResultsId |
...