com.google.gwt.rpc.client.ast
Class SetCommand

java.lang.Object
  extended by com.google.gwt.rpc.client.ast.RpcCommand
      extended by com.google.gwt.rpc.client.ast.SetCommand

public class SetCommand
extends RpcCommand

A command to set the value of an object in the command stream.


Constructor Summary
SetCommand(java.lang.Class<?> fieldDeclClass, java.lang.String field, ValueCommand value)
           
 
Method Summary
 void clear()
          Delete all internal state so that the command may be used only for instance tracking.
 java.lang.String getField()
           
 java.lang.Class<?> getFieldDeclClass()
           
 ValueCommand getValue()
           
 void traverse(RpcCommandVisitor visitor, RpcCommandVisitor.Context ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetCommand

public SetCommand(java.lang.Class<?> fieldDeclClass,
                  java.lang.String field,
                  ValueCommand value)
Method Detail

clear

public void clear()
Description copied from class: RpcCommand
Delete all internal state so that the command may be used only for instance tracking.

Overrides:
clear in class RpcCommand

getField

public java.lang.String getField()

getFieldDeclClass

public java.lang.Class<?> getFieldDeclClass()

getValue

public ValueCommand getValue()

traverse

public void traverse(RpcCommandVisitor visitor,
                     RpcCommandVisitor.Context ctx)
Specified by:
traverse in class RpcCommand