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

java.lang.Object
  extended by com.google.gwt.rpc.client.ast.RpcCommand
      extended by com.google.gwt.rpc.client.ast.ValueCommand
          extended by com.google.gwt.rpc.client.ast.IdentityValueCommand
              extended by com.google.gwt.rpc.client.ast.EnumValueCommand

public class EnumValueCommand
extends IdentityValueCommand

Encapsulates a string value in the command stream.


Constructor Summary
EnumValueCommand()
           
 
Method Summary
 java.lang.Enum<?> getValue()
           
 void setValue(java.lang.Enum<?> value)
          Not a constructor argument so that the identity of the EnumValueCommand can be established before the identity of the value.
 void traverse(RpcCommandVisitor visitor, RpcCommandVisitor.Context ctx)
           
 
Methods inherited from class com.google.gwt.rpc.client.ast.IdentityValueCommand
equals, hashCode
 
Methods inherited from class com.google.gwt.rpc.client.ast.RpcCommand
clear
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumValueCommand

public EnumValueCommand()
Method Detail

getValue

public java.lang.Enum<?> getValue()

setValue

public void setValue(java.lang.Enum<?> value)
Not a constructor argument so that the identity of the EnumValueCommand can be established before the identity of the value.


traverse

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