public interface ValidationReport
A threshold property can be set so as to specify the maximum number of messages, for each constraint
defined in a data model.
It is defined by the property ebx.validation.constraints.messages.threshold
(see EBX® main configuration file).
This threshold is taken into account for each constraint of a data model. When the threshold is reached by a constraint and for a severity:
When set to '0' or a negative value, the threshold is not taken into account. Default threshold is '0'.
Modifier and Type | Method and Description |
---|---|
int |
countItemsOfSeverity(Severity aSeverity)
Returns the number of validation items of the
severity specified.
|
ValidationReportItemIterator |
getItemsOfSeverity(Severity aSeverity)
Returns the validation items of the severity specified.
|
ValidationReportItemIterator |
getItemsOfSeverityOrMore(Severity aSeverity)
Returns the validation items of the specified severity and
higher (more severe).
|
ValidationReportItemIterator |
getTooManyMessagesItems()
Returns the validation items that contain the
information about the constraints that have reached
the validation message threshold.
|
boolean |
hasConstraintsWithTooManyMessages()
Returns
true if the threshold specified in the EBX® main configuration
file has been reached on items of the severity error by at least one constraint. |
boolean |
hasItems()
Returns
true if this report has validation items. |
boolean |
hasItemsOfSeverity(Severity aSeverity)
Returns
true if this report has validation items of the severity specified. |
boolean |
hasItemsOfSeverityOrMore(Severity aSeverity)
Returns
true if this report has validation items of the severity specified or higher (more severe). |
boolean |
hasSkippedValidation()
Returns
true if this validation report
is empty because the validation of the dataset, table or record
didn't wait for the end of a concurrent validation. |
boolean |
hasTooManyItemsOfSeverity(Severity aSeverity)
Returns
true if the threshold specified in the EBX® main configuration file
has been reached at least by a constraint for the specified severity. |
boolean hasItems()
true
if this report has validation items.boolean hasConstraintsWithTooManyMessages()
true
if the threshold specified in the EBX® main configuration
file has been reached on items of the severity error
by at least one constraint.
For more information, see Message threshold property and EBX® main configuration file.
hasTooManyItemsOfSeverity(Severity)
,
getTooManyMessagesItems()
boolean hasItemsOfSeverity(Severity aSeverity)
true
if this report has validation items of the severity specified.int countItemsOfSeverity(Severity aSeverity)
boolean hasItemsOfSeverityOrMore(Severity aSeverity)
true
if this report has validation items of the severity specified or higher (more severe).boolean hasTooManyItemsOfSeverity(Severity aSeverity)
true
if the threshold specified in the EBX® main configuration file
has been reached at least by a constraint for the specified severity.
For more information, see Message threshold property.
ValidationReportItemIterator getItemsOfSeverity(Severity aSeverity)
ValidationReportItemIterator getItemsOfSeverityOrMore(Severity aSeverity)
ValidationReportItemIterator getTooManyMessagesItems()
hasConstraintsWithTooManyMessages()
boolean hasSkippedValidation()
true
if this validation report
is empty because the validation of the dataset, table or record
didn't wait for the end of a concurrent validation.ValidationSpec.RefreshPolicy.NO_WAIT