1 2 12 package com.versant.core.jdo.query; 13 14 import com.versant.core.common.CmdBitSet; 15 16 20 public class VarBindingNode extends LeafNode { 21 22 private final VarNode var; 23 24 public VarBindingNode(VarNode var) { 25 this.var = var; 26 } 27 28 public VarNode getVar() { 29 return var; 30 } 31 32 public String toString() { 33 return super.toString() + " " + var; 34 } 35 36 public void updateEvictionDependency(CmdBitSet bitSet) { 37 var.updateEvictionDependency(bitSet); 38 } 39 40 public Object accept(NodeVisitor visitor, Object [] results) { 41 return visitor.visitVarBindingNode(this, results); 42 } 43 44 public Object arrive(NodeVisitor v, Object msg) { 45 return v.arriveVarBindingNode(this, msg); 46 } 47 48 } 49 | Popular Tags |