public abstract class AbstractMessage extends Object implements Message
Message.| Modifier and Type | Field and Description |
|---|---|
private String |
code |
private String |
details |
private NlsMessage |
message |
private static long |
serialVersionUID |
private String |
source |
private UUID |
uuid |
TYPE_INFORMATION, TYPE_TECHNICAL_ERROR, TYPE_USER_ERROR, TYPE_VALIDATION_FAILURE, TYPE_WARNING| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMessage()
The constructor for de-serialization in GWT.
|
|
AbstractMessage(String code,
Object source,
NlsMessage message,
UUID uuid,
String details)
The constructor.
|
|
AbstractMessage(String code,
Object source,
String message,
UUID uuid,
String details)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getDetails() |
String |
getMessage() |
String |
getMessage(Locale locale) |
String |
getSource() |
UUID |
getUuid() |
String |
toString() |
private static final long serialVersionUID
private String code
private String source
private NlsMessage message
private UUID uuid
private String details
protected AbstractMessage()
public AbstractMessage(String code, Object source, String message, UUID uuid, String details)
public String getCode()
getCode in interface AttributeReadMessageCodepublic final String getMessage()
getMessage in interface AttributeReadMessagepublic String getMessage(Locale locale)
getMessage in interface Messagepublic String getDetails()
getDetails in interface Messagepublic UUID getUuid()
getUuid in interface AttributeReadUuidgetUuid in interface MessageCopyright © 2001–2019 mmm-Team. All rights reserved.