Interface SchemaFacetValidationMessage
public interface SchemaFacetValidationMessage
Represents the validation messages defined by a facet in a data model.
- Since:
- 6.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the non-localizedmessage
defined by the associated facet.Returns the locales for which a validation message is defined by the associated facet.getLocalizedMessage
(Locale aLocale) Returns the value of the localizedmessage
defined by the associated facet.Returns theseverity
of the validation message.
-
Method Details
-
getDefaultMessage
String getDefaultMessage()Returns the non-localizedmessage
defined by the associated facet.Returns
null
if the associated facet does not define a non-localizedmessage
. -
getLocalizedMessage
Returns the value of the localizedmessage
defined by the associated facet.Returns
null
if the associated facet does not define amessage
for the specifiedLocale
. -
getSeverity
Severity getSeverity()Returns theseverity
of the validation message.Returns
Severity.ERROR
if the associated facet does not define a specificseverity
. -
getLocales
Returns the locales for which a validation message is defined by the associated facet.
-