Public Member Functions | |
String | getName () |
String | getDescription () |
String | toString () |
Static Public Attributes | |
final MessageType | MSG_ERROR = new MessageType("MSG_ERROR", "Error message.") |
final MessageType | MSG_INFORMATION = new MessageType("MSG_INFORMATION", "Informational message.") |
Protected Member Functions | |
MessageType (String name, String description) | |
Private Attributes | |
String | name |
String | description |
MSG_ERROR
or MSG_INFORMATION
.
|
Creates a new message type with its name and description. Contructor is
|
|
Returns the description of the type.
|
|
Returns the name of the type.
|
|
Returns a single-line rendition of this instance into text.
|
|
The description of the type. |
|
Error message. |
|
Informational message. |
|
The name of the type (e.g. MSG_ERROR). |