com.ibm.bpe.jsf.util
Interface Message

All Superinterfaces:
java.io.Serializable

public interface Message
extends java.io.Serializable

This interface is used to implement localised messages. Both the List Component as well as the List Component can show such messages.


Field Summary
static java.lang.String COPYRIGHT
           
static int ERROR
          Error Message Type
static int INFO
          Info Message Type
static int WARNING
          Warning Message Type
 
Method Summary
 java.lang.String getMessage()
          Returns a localised message.
 int getType()
          Returns the type of the message.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

INFO

public static final int INFO
Info Message Type

See Also:
Constant Field Values

WARNING

public static final int WARNING
Warning Message Type

See Also:
Constant Field Values

ERROR

public static final int ERROR
Error Message Type

See Also:
Constant Field Values
Method Detail

getMessage

public java.lang.String getMessage()
Returns a localised message. The Locale can be looked up through the FacesContext.

Returns:
The localised message

getType

public int getType()
Returns the type of the message. The message must be either a INFO, WARNING or ERROR message.

Returns:
The type of the message