ZMObject
|
+--ZMMessage
public class ZMMessage
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMMessage(string text, string type, string ref) Create new message. |
|
| Method Summary | |
|---|---|
| string | getRef() Get the message reference. |
| string | getText() Get the message text. |
| string | getType() Get the message type. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMMessage(string text, string type, string ref)
Create new message.
ZMMessages::T_GLOBAL.public string getRef()
Get the message reference.
public string getText()
Get the message text.
public string getType()
Get the message type.
A single message.
References can be anything, but usually would be a field number if it is a validation message. Everything else typically would be
null.Note: The message text needs ot be localised.