public abstract class ValidationMessage
extends java.lang.Object
Constructor and Description |
---|
ValidationMessage(java.lang.String keyIn)
Construct a new ValidationMessage with the specified
l10n key
|
ValidationMessage(java.lang.String keyIn,
java.lang.Object... valuesIn)
Construct a ValidationMessage with the proper
key and values
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Get the key value
|
java.lang.String |
getLocalizedMessage()
Returns the internationalized
message associated to this error
|
java.lang.String |
getMessage()
Returns the Text message associated to the given key
|
java.lang.Object[] |
getValues()
Get the values array
|
java.lang.String |
toString() |
public ValidationMessage(java.lang.String keyIn, java.lang.Object... valuesIn)
keyIn
- the key to use to lookup the localized stringvaluesIn
- the values to substitute in the messagepublic ValidationMessage(java.lang.String keyIn)
keyIn
- the key to use to lookup the localized stringpublic java.lang.String getKey()
public java.lang.Object[] getValues()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()