001package gudusoft.gsqlparser.nodes; 002/* 003 * Date: 2010-12-27 004 * Time: 15:47:12 005 */ 006 007/** 008 * DB2 procedure compound statement 009 */ 010public class TCompoundSqlNode extends TParseTreeNode { 011 private TStatementListSqlNode declareStmts = null; 012 private TStatementListSqlNode stmts = null; 013 014 public TStatementListSqlNode getStmts() { 015 return stmts; 016 } 017 018 public TStatementListSqlNode getDeclareStmts() { 019 return declareStmts; 020 } 021 022 public void init(Object arg1,Object arg2){ 023 if (arg1 != null){ 024 this.declareStmts = (TStatementListSqlNode)arg1; 025 } 026 027 if (arg2 != null){ 028 this.stmts = (TStatementListSqlNode)arg2; 029 } 030 } 031}