|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.util.ErrorMessage
public class ErrorMessage
Contains the error message key and parameters for a specific instantiation of an error message
Constructor Summary | |
---|---|
ErrorMessage()
Default constructor, required by AutoPopulatingList |
|
ErrorMessage(String errorKey,
String... messageParameters)
Convenience constructor which sets both fields |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getErrorKey()
Gets the message key for this ErrorMessage |
String[] |
getMessageParameters()
Get the messageParameters which should be used when evaluating and generating the message for the ErrorMessage. |
String |
getMessagePrefixKey()
Gets the messagePrefixKey which defines the message key for the message to be prefixed to the message defined by errorKey. |
String[] |
getMessagePrefixParameters()
Get the messagePrefixParameters which should be used when evaluating and generating the message for the messagePrefixKey. |
String |
getMessageSuffixKey()
Gets the messageSuffixKey which defines the message key for the message to be appended to the message defined by errorKey. |
String[] |
getMessageSuffixParameters()
Get the messagePrefixParameters which should be used when evaluating and generating the message for the messageSuffixKey. |
int |
hashCode()
Defined because when you redefine equals, you must redefine hashcode. |
void |
setErrorKey(String errorKey)
Sets the key to use to retrieve the message for this ErrorMessage |
void |
setMessageParameters(String[] messageParameters)
Sets the messageParameters for this ErrorMessage |
void |
setMessagePrefixKey(String messagePrefixKey)
Set the messagePrefixKey |
void |
setMessagePrefixParameters(String[] messagePrefixParameters)
Set the messagePrefixParameters |
void |
setMessageSuffixKey(String messageSuffixKey)
Set the messageSuffixKey |
void |
setMessageSuffixParameters(String[] messageSuffixParameters)
Set the messageSuffixParameters |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ErrorMessage()
public ErrorMessage(String errorKey, String... messageParameters)
errorKey
- messageParameters
- Method Detail |
---|
public void setErrorKey(String errorKey)
errorKey
- public String getErrorKey()
public void setMessageParameters(String[] messageParameters)
messageParameters
- public String[] getMessageParameters()
public String toString()
toString
in class Object
Object.toString()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getMessagePrefixKey()
public void setMessagePrefixKey(String messagePrefixKey)
messagePrefixKey
- public String getMessageSuffixKey()
public void setMessageSuffixKey(String messageSuffixKey)
messageSuffixKey
- public String[] getMessagePrefixParameters()
public void setMessagePrefixParameters(String[] messagePrefixParameters)
messagePrefixParameters
- public String[] getMessageSuffixParameters()
public void setMessageSuffixParameters(String[] messageSuffixParameters)
messageSuffixParameters
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |