An object of communication that provides text information from a source. For example, a validation message may inform
a web application user a business rule was violated. A messages comes from a source, has text providing the basis for
communication, and has severity indicating the priority or intensity of the message for its receiver.
Creates a new message.
source the source of the message
text the message text
severity the message severity
Returns the source of this message. The source is the object that sent the message.
Returns the message text. The text is the message's communication payload.
Returns the severity of this message. The severity indicates the intensity or priority of the communication.
- the message severity