|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.message.DisplayMessage
public class DisplayMessage
DisplayMessage represents a single message generated within the spine framework which can be displayed to the user. It can retrieve messages from a predefined resource bundle which is available system wide.
Copyright ©Zphinx Software Solutions
| Constructor Summary | |
|---|---|
DisplayMessage()
Default Constructor |
|
DisplayMessage(String message)
Constructor which accepts a message key |
|
DisplayMessage(String message,
Object[] arguments)
Constructs a DisplayMessage with parametric replacements |
|
| Method Summary | |
|---|---|
Object[] |
getArguments()
Gets the arguments for the specified message |
String |
getMessage()
Gets the message key |
void |
setArguments(Object[] arguments)
Sets the arguments for the specified message |
void |
setMessage(String message)
Sets the message key |
void |
setMessage(String message,
Object[] arguments)
Sets a message with parametric replacements |
String |
toString()
Returns the value of the message contained in this message |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DisplayMessage()
public DisplayMessage(String message)
message - The message key by which this object derives the appropriate message
public DisplayMessage(String message,
Object[] arguments)
message - The string which represents the key by which this message is discoveredarguments - The arguments to use for parametric replacements| Method Detail |
|---|
public String getMessage()
public void setMessage(String message)
message - the message to set
public void setMessage(String message,
Object[] arguments)
message - the message to setpublic String toString()
toString in class Objectpublic Object[] getArguments()
public void setArguments(Object[] arguments)
arguments - the arguments to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||