|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.StrutsMessageDataModelImp.StrutsMessage
Inner class
Field Summary | |
private java.lang.String |
key
Key |
private java.lang.String |
message
Message |
private Severity |
severity
Severity |
Constructor Summary | |
StrutsMessageDataModelImp.StrutsMessage(Severity severity,
java.lang.String key,
java.lang.String message)
Constructor |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
java.lang.String |
getKey()
Returns the unique message key |
java.lang.String |
getMessage()
Returns a language independent message |
java.lang.String |
getMessage(java.lang.String locale)
Returns a language dependent message |
Severity |
getSeverity()
Returns the severity for the message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Severity severity
private java.lang.String key
private java.lang.String message
Constructor Detail |
public StrutsMessageDataModelImp.StrutsMessage(Severity severity, java.lang.String key, java.lang.String message)
severity
- Severitykey
- MessageKeymessage
- MessageMethod Detail |
public java.lang.String getKey()
Message
getKey
in interface Message
Message.getKey()
public Severity getSeverity()
Message
getSeverity
in interface Message
Message.getSeverity()
public java.lang.String getMessage(java.lang.String locale)
Message
getMessage
in interface Message
locale
- Local null
== default language
Message.getMessage(String)
public java.lang.String getMessage()
Message
getMessage
in interface Message
Message.getMessage()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |