|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.jtopenlite.Message
public class Message
Represents a IBM i message.
| Constructor Summary | |
|---|---|
Message(String id,
String text)
Constructs a new message with the provided ID and message text. |
|
Message(String id,
String text,
int severity)
Constructs a new message with the provided ID, message text, and severity. |
|
| Method Summary | |
|---|---|
String |
getID()
Returns the message ID of this message. |
int |
getSeverity()
Returns the severity of this message, or 0 if unknown. |
String |
getText()
Returns the message text of this message. |
String |
toString()
Returns a String representation of this message which consists of the message ID and message text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message(String id,
String text)
public Message(String id,
String text,
int severity)
| Method Detail |
|---|
public int getSeverity()
public String getID()
public String getText()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||