sharpster.common
Class MessageResponse

java.lang.Object
  |
  +--sharpster.common.Response
        |
        +--sharpster.common.MessageResponse
All Implemented Interfaces:
java.io.Serializable

public class MessageResponse
extends Response
implements java.io.Serializable

A response containing a general message.

See Also:
Serialized Form

Constructor Summary
MessageResponse()
           
 
Method Summary
 java.lang.String getMessage()
          Returns the message.
 int getType()
          Returns the type of this response.
 void setMessage(java.lang.String message)
          Sets the message.
 java.lang.String toString()
           
 
Methods inherited from class sharpster.common.Response
getOrigin, getUser, isError, setError, setOrigin, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageResponse

public MessageResponse()
Method Detail

getType

public int getType()
Returns the type of this response.

Specified by:
getType in class Response

getMessage

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


setMessage

public void setMessage(java.lang.String message)
Sets the message.


toString

public java.lang.String toString()
Overrides:
toString in class Response