public interface IValidationMessage
Modifier and Type | Method and Description |
---|---|
boolean |
equalOrWorse(IValidationMessage message)
Checks if the severity of this message is equal or worse
than the severity of the given message.
|
java.lang.String |
getContext()
The context where the validation message has been occurred,
e.g. the property or bean label
|
java.lang.String |
getText() |
MessageType |
getType() |
IValidationMessage |
withContext(java.lang.String context)
Creates a validation message that has the given context
|
boolean |
worse(IValidationMessage message)
Checks if the severity of this message is worse
than the severity of the given message.
|
MessageType getType()
java.lang.String getText()
java.lang.String getContext()
IValidationMessage withContext(java.lang.String context)
context
- The context to set on the resultboolean equalOrWorse(IValidationMessage message)
message
- The message to check againstboolean worse(IValidationMessage message)
message
- The message to check againstSiehe auch Jowidgets Nutzerhandbuch