org.tranql.ql
Class Assignment

java.lang.Object
  extended byorg.tranql.ql.AbstractNode
      extended byorg.tranql.ql.Assignment
All Implemented Interfaces:
Node, java.io.Serializable

public class Assignment
extends AbstractNode

This node represents an assignment in an update statement. This node expects two children a left value, expression or literal and a right value, expression or literal. Note: this class is only used in update queries, and explicitly this class is *not* used in a where clause for equals companison. For that casue use a BinaryOperation node. todo exactally what type of children are valid leftVariable = rightValue

Version:
$Revision: 138 $ $Date: 2004-10-21 05:52:45 +0200 (Thu, 21 Oct 2004) $
See Also:
Serialized Form

Constructor Summary
Assignment()
           
 
Method Summary
 java.lang.Object visit(QueryVisitor visitor, java.lang.Object param)
           
 
Methods inherited from class org.tranql.ql.AbstractNode
addChild, getChild, getSibling, isOnlyChild, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assignment

public Assignment()
Method Detail

visit

public java.lang.Object visit(QueryVisitor visitor,
                              java.lang.Object param)
                       throws QueryException
Throws:
QueryException


Copyright © -2006 The Codehaus. All Rights Reserved.