Class f_messageObject

Object
  extended by f_messageObject

public final class f_messageObject
extends Object

f_messageObject represents a single validation (or other) message, which is typically associated with a particular component in the view.


Field Summary
static Number SEVERITY_ERROR
          Message severity level indicating that an error has occurred.
static Number SEVERITY_FATAL
          Message severity level indicating that a serious error has occurred.
static Number SEVERITY_INFO
          Message severity level indicating an informational message rather than an error.
static Number SEVERITY_WARN
          Message severity level indicating that an error might have occurred.
 
Constructor Summary
f_messageObject(Number severity, String summary, String detail, Object clientDatas)
          Construct a new f_messageObject with the specified initial values.
 
Method Summary
 boolean f_equals(f_messageObject message)
           
 String f_getClientData(String name)
           
 String f_getDetail()
          Return the localized detail text.
 Number f_getSeverity()
          Return the severity level.
 String f_getSummary()
          Return the localized summary text.
 String toString()
          Returns a string representing the specified object.
 
Methods inherited from class Object
toString
 

Field Detail

SEVERITY_ERROR

public static final Number SEVERITY_ERROR

Message severity level indicating that an error has occurred.


SEVERITY_INFO

public static final Number SEVERITY_INFO

Message severity level indicating an informational message rather than an error.


SEVERITY_FATAL

public static final Number SEVERITY_FATAL

Message severity level indicating that a serious error has occurred.


SEVERITY_WARN

public static final Number SEVERITY_WARN

Message severity level indicating that an error might have occurred.

Constructor Detail

f_messageObject

public f_messageObject(Number severity,
                       String summary,
                       String detail,
                       Object clientDatas)

Construct a new f_messageObject with the specified initial values.

Parameters:
severity - the severity
summary - Localized summary message text
detail - Localized detail message text
clientDatas - Client datas.
Method Detail

f_getDetail

public String f_getDetail()

Return the localized detail text. If no localized detail text has been defined for this message, return the localized summary text instead.

Returns:
Detail

f_getSeverity

public Number f_getSeverity()

Return the severity level.

Returns:
Severity level
See Also:
#SEVERITY_INFO, #SEVERITY_WARN, #SEVERITY_ERROR, #SEVERITY_FATAL

toString

public String toString()
Description copied from class: Object
Returns a string representing the specified object.

Overrides:
toString in class Object

f_getClientData

public String f_getClientData(String name)
Parameters:
name - Name of property

f_equals

public boolean f_equals(f_messageObject message)
Parameters:
message - object

f_getSummary

public String f_getSummary()

Return the localized summary text.

Returns:
The summary