|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.i18n.FixedMessage
public class FixedMessage
A fixed validation message.
| Constructor Summary | |
|---|---|
FixedMessage(String category,
String message)
Deprecated. |
|
FixedMessage(String path,
String message,
String category)
Creates a fixed message, which is already localized. |
|
| Method Summary | |
|---|---|
String |
getCategory()
|
String |
getKey()
|
String |
getPath()
Returns this validation message path. |
boolean |
isAlreadyLocalized()
Whether it has already been localized or not. |
void |
setPath(String path)
Sets this message path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public FixedMessage(String category,
String message)
category - message -
public FixedMessage(String path,
String message,
String category)
path - - complete attribute path in object hierachymessage - - the message, already localized, no fmt key herecategory - - optional category| Method Detail |
|---|
public String getCategory()
getCategory in interface ValidationMessagepublic boolean isAlreadyLocalized()
ValidationMessage
isAlreadyLocalized in interface ValidationMessagepublic String getKey()
public String getPath()
ValidationMessage
getPath in interface ValidationMessagepublic void setPath(String path)
ValidationMessage
setPath in interface ValidationMessagepath - its path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||