public class ErrorMessage extends Object implements Serializable
Constructor and Description |
---|
ErrorMessage()
Default constructor, required by AutoPopulatingList
|
ErrorMessage(String errorKey,
String... messageParameters)
Convenience constructor which sets both fields
|
Modifier and Type | Method and Description |
---|---|
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() |
public ErrorMessage()
public ErrorMessage(String errorKey, String... messageParameters)
errorKey
- messageParameters
- 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()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.