001package gudusoft.gsqlparser.nodes; 002/* 003 * Date: 11-5-10 004 */ 005 006public class TRelationExprList extends TParseTreeNodeList <TRelationExpr>{ 007 008 public TRelationExprList() 009 { 010 } 011 012 public void addRelationExpr(TRelationExpr RelationExpr) 013 { 014 addElement(RelationExpr); 015 } 016 017 public TRelationExpr getRelationExpr(int position) 018 { 019 if (position < size()) 020 { 021 return (TRelationExpr)elementAt(position); 022 }else{ 023 return null; 024 } 025 } 026 027 void addParseTreeNode(Object arg1){ 028 addRelationExpr((TRelationExpr)arg1); 029 } 030 031 032}