Interface ValidationReport
- All Known Subinterfaces:
DataspaceValidationReport
Message threshold property
A threshold property can be set at data model level so as to specify the maximum number of messages, for each
constraint defined in the data model.
This threshold must be declared under the element
xs:schema/xs:annotation/xs:appinfo:
<osd:validation>
<validationMessageThreshold>250</validationMessageThreshold>
</osd:validation>
This threshold is taken into account for each constraint of a data model. When the threshold is reached by a constraint:
- The validation of the constraint is stopped;
- An error message indicating that the threshold has been reached is added to the validation report.
For more information, see Validation message threshold
-
Method Summary
Modifier and TypeMethodDescriptionintcountItemsOfSeverity(Severity aSeverity) Returns the number of validation items of the specified severity.getItemsOfSeverity(Severity aSeverity) Returns the validation items of the specified severity.getItemsOfSeverityOrMore(Severity aSeverity) Returns the validation items of the specified severity and higher (more severe).Returns the validation items that contain the information about the constraints that have reached the validation message threshold.booleanReturnstrueif the threshold specified in the EBX® main configuration file has been reached by at least one constraint.booleanhasItems()Returnstrueif this report has validation items.booleanhasItemsOfSeverity(Severity aSeverity) Returnstrueif this report has validation items of the specified severity.booleanhasItemsOfSeverityOrMore(Severity aSeverity) Returnstrueif this report has validation items of the specified severity or higher (more severe).booleanReturnstrueif this validation report is empty because the validation of the dataset, table or record didn't wait for the end of a concurrent validation.booleanReturns true if the message threshold has been reached by the specified constraint.booleanhasTooManyItemsOfSeverity(Severity aSeverity) Deprecated.Since 6.0
-
Method Details
-
hasItems
boolean hasItems()Returnstrueif this report has validation items.- Since:
- 5.8.0
-
hasConstraintsWithTooManyMessages
boolean hasConstraintsWithTooManyMessages()Returnstrueif the threshold specified in the EBX® main configuration file has been reached by at least one constraint.For more information, see Validation message threshold
- Since:
- 5.8.0
- See Also:
-
hasItemsOfSeverity
Returnstrueif this report has validation items of the specified severity. -
countItemsOfSeverity
Returns the number of validation items of the specified severity.- Since:
- 5.8.0
-
hasItemsOfSeverityOrMore
Returnstrueif this report has validation items of the specified severity or higher (more severe). -
hasTooManyItemsOfSeverity
Deprecated.Since 6.0Returnsfalse. -
hasTooManyItemsOfConstraint
Returns true if the message threshold has been reached by the specified constraint.- Since:
- 6.0
- See Also:
-
getItemsOfSeverity
Returns the validation items of the specified severity.The iterator has to be closed to free the acquired resources. It can only be accessed as long as the dataspace is open. See
ValidationReportItemIterator. -
getItemsOfSeverityOrMore
Returns the validation items of the specified severity and higher (more severe).The iterator has to be closed to free the acquired resources. It can only be accessed as long as the dataspace is open. See
ValidationReportItemIterator. -
getTooManyMessagesItems
ValidationReportItemIterator getTooManyMessagesItems()Returns the validation items that contain the information about the constraints that have reached the validation message threshold.The iterator has to be closed to free the acquired resources. It can only be accessed as long as the dataspace is open. See
ValidationReportItemIterator.- Since:
- 5.8.0
- See Also:
-
hasSkippedValidation
boolean hasSkippedValidation()Returnstrueif this validation report is empty because the validation of the dataset, table or record didn't wait for the end of a concurrent validation.- See Also:
-