Interface SchemaFacetValidationMessage

    • Method Detail

      • getDefaultMessage

        String getDefaultMessage()
        Returns the non-localized message defined by the associated facet.

        Returns null if the associated facet does not define a non-localized message.

      • getLocalizedMessage

        String getLocalizedMessage​(Locale aLocale)
        Returns the value of the localized message defined by the associated facet.

        Returns null if the associated facet does not define a message for the specified Locale.

      • getSeverity

        Severity getSeverity()
        Returns the severity of the validation message.

        Returns Severity.ERROR if the associated facet does not define a specific severity.

      • getLocales

        Iterable<Locale> getLocales()
        Returns the locales for which a validation message is defined by the associated facet.