...

Allows to set a time limit in seconds, setting to 0 means no time limit. Allows to set a count limit, setting to 0 means no count limit. Allows to hide redundant issues.

    bit 0:  (__KNOWN_ENTITY)                    entity is defined in the schema
    bit 1:  (__NO_OF_ARGUMENTS)                 number of arguments
    bit 2:  (__ARGUMENT_EXPRESS_TYPE)           argument value is correct entity, defined type or enumeration value
    bit 3:  (__ARGUMENT_PRIM_TYPE)              argument value has correct primitive type
    bit 4:  (__REQUIRED_ARGUMENTS)              non-optional arguments values are provided
    bit 5:  (__ARRGEGATION_EXPECTED)            aggregation is provided when expected
    bit 6:  (__AGGREGATION_NOT_EXPECTED)        aggregation is not used when not expected
    bit 7:  (__AGGREGATION_SIZE)                aggregation size
    bit 8:  (__AGGREGATION_UNIQUE)              elements in aggregations are unique when required
    bit 9:  (__COMPLEX_INSTANCE)                complex instances contains full parent chains
    bit 10: (__REFERENCE_EXISTS)                referenced instance exists
    bit 11: (__ABSTRACT_ENTITY)                 abstract entity should not instantiate
    bit 12: (__WHERE_RULE)                      where-rule check
    bit 13: (__UNIQUE_RULE)                     unique-rule check
    bit 14: (__STAR_USAGE)                      * is used only for derived arguments
    bit 15: (__CALL_ARGUMENT)                   validateModel/validateInstance function argument should be model/instance
    bit 63: (__INTERNAL_ERROR)                  unspecified error

Allows to get the time limit in seconds, value 0 means no time limit, input can be left to NULL if not relevant. Allows to get the count limit, value 0 means no count limit, input can be left to NULL if not relevant. Allows to get hide redundant issues, input can be left to NULL if not relevant. Return value is the issueTypes enabled according to the mask given.

    bit 0:  (__KNOWN_ENTITY)                    entity is defined in the schema
    bit 1:  (__NO_OF_ARGUMENTS)                 number of arguments
    bit 2:  (__ARGUMENT_EXPRESS_TYPE)           argument value is correct entity, defined type or enumeration value
    bit 3:  (__ARGUMENT_PRIM_TYPE)              argument value has correct primitive type
    bit 4:  (__REQUIRED_ARGUMENTS)              non-optional arguments values are provided
    bit 5:  (__ARRGEGATION_EXPECTED)            aggregation is provided when expected
    bit 6:  (__AGGREGATION_NOT_EXPECTED)        aggregation is not used when not expected
    bit 7:  (__AGGREGATION_SIZE)                aggregation size
    bit 8:  (__AGGREGATION_UNIQUE)              elements in aggregations are unique when required
    bit 9:  (__COMPLEX_INSTANCE)                complex instances contains full parent chains
    bit 10: (__REFERENCE_EXISTS)                referenced instance exists
    bit 11: (__ABSTRACT_ENTITY)                 abstract entity should not instantiate
    bit 12: (__WHERE_RULE)                      where-rule check
    bit 13: (__UNIQUE_RULE)                     unique-rule check
    bit 14: (__STAR_USAGE)                      * is used only for derived arguments
    bit 15: (__CALL_ARGUMENT)                   validateModel/validateInstance function argument should be model/instance
    bit 63: (__INTERNAL_ERROR)                  unspecified error

Apply validation of a model

Apply validation of an instance

Clean validation results

Get first issue from validation results. If no issues inside validation results or validation results is NULL it will return NULL.

Get next issue based on a given issue. If no issues left or validation issue is NULL it will return NULL.

Return value is the issueStatus (enum_validation_status):

    value 0:    (__NONE)                        no status set
    value 1:    (__COMPLETE_ALL)                all issues proceed
    value 2:    (__COMPLETE_NOT_ALL)            completed but some issues were excluded by option settings
    value 3:    (__TIME_EXCEED)                 validation was finished because of reach time limit
    value 4:    (__COUNT_EXCEED)                validation was finished because of reach of issue's numbers limit

Return value is the issueType (enum_validation_type):

    bit 0:  (__KNOWN_ENTITY)                    entity is defined in the schema
    bit 1:  (__NO_OF_ARGUMENTS)                 number of arguments
    bit 2:  (__ARGUMENT_EXPRESS_TYPE)           argument value is correct entity, defined type or enumeration value
    bit 3:  (__ARGUMENT_PRIM_TYPE)              argument value has correct primitive type
    bit 4:  (__REQUIRED_ARGUMENTS)              non-optional arguments values are provided
    bit 5:  (__ARRGEGATION_EXPECTED)            aggregation is provided when expected
    bit 6:  (__AGGREGATION_NOT_EXPECTED)        aggregation is not used when not expected
    bit 7:  (__AGGREGATION_SIZE)                aggregation size
    bit 8:  (__AGGREGATION_UNIQUE)              elements in aggregations are unique when required
    bit 9:  (__COMPLEX_INSTANCE)                complex instances contains full parent chains
    bit 10: (__REFERENCE_EXISTS)                referenced instance exists
    bit 11: (__ABSTRACT_ENTITY)                 abstract entity should not instantiate
    bit 12: (__WHERE_RULE)                      where-rule check
    bit 13: (__UNIQUE_RULE)                     unique-rule check
    bit 14: (__STAR_USAGE)                      * is used only for derived arguments
    bit 15: (__CALL_ARGUMENT)                   validateModel/validateInstance function argument should be model/instance
    bit 63: (__INTERNAL_ERROR)                  unspecified error

Returns the (first) instance related to the given issue.

Returns the second instance related to the given issue (if relevant).

Returns the entity handle related to the given issue (if relevant).

Returns the attribute handle related to the given issue (if relevant).

Specifies nesting level of aggregation or 0.

Array of indices for each aggregation size is aggrLevel.

Returns the issue level (i.e. severity of the issue) of the issue given as input.

Returns the description text of the issue given as input.