Interface ValidationReport

  • All Known Subinterfaces:
    DataspaceValidationReport

    public interface ValidationReport
    A validation report is composed of validation items, each one characterized by a severity and a user message.

    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

    See Also:
    ValidationReportItem, getTooManyMessagesItems(), hasConstraintsWithTooManyMessages()