net.sf.wallace.messages
Class RenameMessage

java.lang.Object
  extended by net.sf.wallace.messages.AbstractMessage
      extended by net.sf.wallace.messages.RenameMessage
All Implemented Interfaces:
ClientMessage

public final class RenameMessage
extends AbstractMessage

A RENAME command.

Author:
rnewson

Constructor Summary
RenameMessage()
           
 
Method Summary
 Command getCommand()
          Return a command object capable of processing this message.
 String getFrom()
           
 String getTo()
           
 void setFrom(String newFrom)
           
 void setTo(String newTo)
           
 
Methods inherited from class net.sf.wallace.messages.AbstractMessage
getTag, setTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameMessage

public RenameMessage()
Method Detail

setFrom

public void setFrom(String newFrom)

getFrom

public String getFrom()

setTo

public void setTo(String newTo)

getTo

public String getTo()

getCommand

public Command getCommand()
Description copied from interface: ClientMessage
Return a command object capable of processing this message. This is generally implemented as an inner class. If so, care must be taken to use the client message parameter, and not access the outer Message instance.

Returns:


Copyright © 2004-2005 Robert Newson. All Rights Reserved.