001package gudusoft.gsqlparser.nodes.oracle; 002 003import gudusoft.gsqlparser.nodes.*; 004 005public class TConstructorBody extends TParseTreeNode { 006 007 private TObjectName functionTypeName; 008 private TStatementListSqlNode stmts = null; 009 private TExceptionClause exceptionClause = null; //plsql exception 010 011 public TObjectName getFunctionTypeName() { 012 return functionTypeName; 013 } 014 015 public void init(Object arg1){ 016 functionTypeName = (TObjectName)arg1; 017 } 018 019 public TStatementListSqlNode getStmts() { 020 return stmts; 021 } 022 023 public TExceptionClause getExceptionClause() { 024 return exceptionClause; 025 } 026 027 public void init(Object arg1,Object arg2,Object arg3) 028 { 029 030 init(arg1); 031 stmts = (TStatementListSqlNode)arg2; 032 if (arg3 != null){ 033 exceptionClause = (TExceptionClause)arg3; 034 } 035 } 036 037 038}