org.japano
Class View.Message

java.lang.Object
  extended by org.japano.View.Message
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
View

public static class View.Message
extends java.lang.Object
implements java.io.Serializable

A Message that can be added to a view.

See Also:
Serialized Form

Constructor Summary
View.Message(java.lang.Class actionClass, java.lang.String paramName, java.lang.String message, java.lang.String fieldId)
          Constructs a new message.
 
Method Summary
 java.lang.Class getActionClass()
           
 java.lang.String getMessage()
          Returns the message string of this Message.
 java.lang.String getParameterName()
          Returns the name of the HTTP parameter that caused the message.
 java.lang.String toString()
          Returns a string representation of the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

View.Message

public View.Message(java.lang.Class actionClass,
                    java.lang.String paramName,
                    java.lang.String message,
                    java.lang.String fieldId)
Constructs a new message.

Parameters:
paramName - name of the HTTP parameter that caused the message.
message - message string.
Method Detail

getParameterName

public java.lang.String getParameterName()
Returns the name of the HTTP parameter that caused the message.

Returns:
name

getMessage

public java.lang.String getMessage()
Returns the message string of this Message.

Returns:
message string

toString

public java.lang.String toString()
Returns a string representation of the message.

Overrides:
toString in class java.lang.Object
Returns:
string representation

getActionClass

public java.lang.Class getActionClass()