jhomenet.responsive.response
Class MessageResponse

java.lang.Object
  extended by jhomenet.responsive.response.AbstractResponse
      extended by jhomenet.responsive.response.MessageResponse

public class MessageResponse
extends AbstractResponse


Field Summary
 
Fields inherited from class jhomenet.responsive.response.AbstractResponse
hasExecuted, id
 
Constructor Summary
MessageResponse()
          Default constructor.
 
Method Summary
 void execute()
          Execute the response.
 java.lang.String getMessage()
          Get the message.
 void setMessage(java.lang.String message)
          Set the message (allows editing).
 java.lang.String toString()
          Return a string representation of the message response.
 
Methods inherited from class jhomenet.responsive.response.AbstractResponse
formatToString, getId, getResponseDescription, hasExecuted, setId, setResponseDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageResponse

public MessageResponse()
Default constructor.

Method Detail

getMessage

public java.lang.String getMessage()
Get the message.

Returns:
The message

setMessage

public void setMessage(java.lang.String message)
Set the message (allows editing).

Parameters:
message -

execute

public void execute()
Description copied from class: AbstractResponse
Execute the response.

Specified by:
execute in class AbstractResponse
See Also:
AbstractResponse.execute()

toString

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

Specified by:
toString in class AbstractResponse
See Also:
Object.toString()


Copyright © 2004-2005 David Irwin. All Rights Reserved.