SYNTAX:
xpfValidateInstance (instanceId : GENERIC;
diagnosticFile : STRING;
options : INTEGER;
ruleSchemaId : GENERIC;
userOutputFile : STRING;
VAR validationResultsId : GENERIC;
result : LOGICAL;
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. The options argument should be specified as a zero or as a sum of one or more of the following integer constants:
XPXAGGREGATE_DATA_TYPE XPXAGGREGATE_SIZE
XPXAGGREGATE_UNIQUENESS XPXARRAY_REQUIRED_ELEMENTS
XPXATTRIBUTE_DATA_TYPE XPXCREATE_RESULT_MODEL
XPXDETAILED_OUTPUT XPXFULL_OUTPUT
XPXFULL_VALIDATION XPXSTOP_ON_FIRST_ERROR
The options are equivalent to the options used in the EDMinterfaceTM function edmiValidateInstance except for the XPX prefix.
This function is equivalent to the EDMinterfaceTM function edmiValidateInstance.
General
Content
Integrations