com.cc.framework.message
Interface Message

All Known Implementing Classes:
StrutsMessageDataModelImp.StrutsMessage

public interface Message

Interface for messages

Since:
1.0
Version:
$Revision: 1.11 $
Author:
Harald Schulz

Method Summary
 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
 

Method Detail

getKey

public java.lang.String getKey()
Returns the unique message key

Returns:
String

getSeverity

public Severity getSeverity()
Returns the severity for the message

Returns:
Severity

getMessage

public java.lang.String getMessage(java.lang.String locale)
Returns a language dependent message

Parameters:
locale - Local null == default language
Returns:
String

getMessage

public java.lang.String getMessage()
Returns a language independent message

Returns:
String


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.