|
||||||||||
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()
|
String[] |
getMessageParameters()
|
int |
hashCode()
Defined because when you redefine equals, you must redefine hashcode. |
void |
setErrorKey(String errorKey)
|
void |
setMessageParameters(String[] messageParameters)
|
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)
public String getErrorKey()
public void setMessageParameters(String[] 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |