public interface SchemaFacetValidationMessage
SchemaFacet.getFacetValidationMessage()
,
Validation properties,
Labels and messagesModifier and Type | Method and Description |
---|---|
String |
getDefaultMessage()
Returns the non-localized
message
defined by the associated facet. |
Iterable<Locale> |
getLocales()
Returns the locales for which a
validation message is defined by the associated facet.
|
String |
getLocalizedMessage(Locale aLocale)
Returns the value of the localized
message
defined by the associated facet. |
Severity |
getSeverity()
Returns the
severity
of the validation message. |
String getDefaultMessage()
message
defined by the associated facet.
Returns null
if the associated facet
does not define a non-localized message
.
String getLocalizedMessage(Locale aLocale)
message
defined by the associated facet.
Returns null
if the associated facet
does not define a message
for the
specified Locale
.
Severity getSeverity()
severity
of the validation message.
Returns Severity.ERROR
if the associated facet
does not define a specific severity
.