Package com.aquima.interactions.composer
Interface IMessage
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IErrorMessage
- All Known Implementing Classes:
ComposerErrorMessage
,EventError
This interface defines a message that can be linked to a field or page.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the object causing this message to be created.getText()
This method returns a text object containing the actual content of the message.getTrace()
This method returns the cause of the error or warning message.boolean
isError()
This method returns a boolean indicating if the message is an error message.boolean
This method returns a boolean indicating if the message is a warning message.
-
Method Details
-
isError
boolean isError()This method returns a boolean indicating if the message is an error message.- Returns:
- a boolean indicating if the message is an error message.
-
isWarning
boolean isWarning()This method returns a boolean indicating if the message is a warning message.- Returns:
- a boolean indicating if the message is a warning message.
-
getText
IMultilingualText getText()This method returns a text object containing the actual content of the message.- Returns:
- a text object containing the actual content of the message.
-
getTrace
Throwable getTrace()This method returns the cause of the error or warning message.- Returns:
- The cause of the message, or null when not available.
-
getSource
String getSource()This method returns the object causing this message to be created.- Returns:
- The source of the message.
-