Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
SYNTAX:
 
xpxValidateInstance (instanceId        : GENERIC;
                     diagnosticFile    : STRING;
                     options           : INTEGER;
                      VAR resultModelId : GENERIC)
                      status            : INTEGER;
 
The xpxValidateInstance 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_UNIQUENESS
  • XPXATTRIBUTE_DATA_TYPE
  • XPXDETAILED_OUTPUT
  • XPXFULL_VALIDATION
  • XPXAGGREGATE_SIZE
  • XPXARRAY_REQUIRED_ELEMENTS
  • XPXCREATE_RESULT_MODEL
  • XPXFULL_OUTPUT
  • XPXSTOP_ON_FIRST_ERROR

The options are equivalent to the options used in the EDMinterface function edmiValidateInstance except for the XPX prefix. This function is equivalent to the EDMinterface function edmiValidateInstance.

  • No labels