|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.pd.jutil.PDMessage
public class PDMessage
This class stores the message code, localized string, and severity for a single PD Message.
Modes: Local,Remote
Field Summary | |
---|---|
static int |
PDMESSAGE_SEVERITY_ERROR
Represents the error severity level for a PD Message. |
static int |
PDMESSAGE_SEVERITY_INFO
Represents the information severity level for a PD Message. |
static int |
PDMESSAGE_SEVERITY_WARNING
Represents the warning severity level for a PD Message. |
Constructor Summary | |
---|---|
PDMessage(int inMsgCode,
java.util.Locale locale)
Constructs a PDMessage with the specified code and locale. |
|
PDMessage(int inMsgCode,
java.util.Locale locale,
java.lang.Object[] args)
Constructs a PDMessage with the specified code, locale and arguments. |
|
PDMessage(int inMsgCode,
java.lang.String inMsgText,
long inMsgSeverity)
Constructs a PDMessage with the specified code, text, and severity. |
|
PDMessage(int inMsgCode,
java.lang.String inMsgText,
long inMsgSeverity,
java.lang.Object[] inArgs)
Constructs a PDMessage with the specified code, text, severity and arguments. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a copy of this object. |
java.lang.String[] |
getMsgArgs()
Returns the arguments for the message. |
int |
getMsgCode()
Returns the code for the message. |
long |
getMsgSeverity()
Returns the severity for the message. |
java.lang.String |
getMsgText()
Returns the localized text for the message. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int PDMESSAGE_SEVERITY_INFO
public static final int PDMESSAGE_SEVERITY_WARNING
public static final int PDMESSAGE_SEVERITY_ERROR
Constructor Detail |
---|
public PDMessage(int inMsgCode, java.lang.String inMsgText, long inMsgSeverity)
inMsgCode
- Code for this message.inMsgText
- Localized text for this message.inMsgSeverity
- Severity for this message.public PDMessage(int inMsgCode, java.lang.String inMsgText, long inMsgSeverity, java.lang.Object[] inArgs)
inMsgCode
- Code for this message.inMsgText
- Localized text for this message.inMsgSeverity
- Severity for this message.inArgs
- Arguments for this message.
Pass in null if there are no arguments.public PDMessage(int inMsgCode, java.util.Locale locale)
inMsgCode
- Code for this message.locale
- Locale for any data that is returned.public PDMessage(int inMsgCode, java.util.Locale locale, java.lang.Object[] args)
inMsgCode
- Code for this message.locale
- Locale for any data that is returned.args
- Arguments for the message.
Pass in null if there are no arguments.Method Detail |
---|
public int getMsgCode()
public java.lang.String getMsgText()
public long getMsgSeverity()
public java.lang.String[] getMsgArgs()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |