001// GENERATED by ShapeGenerator from scripts/sqllr/shape/shape-spec.tsv (plan 09, slice 1b). Do not edit. 002package gudusoft.gsqlparser.lineage.v2.shape; 003 004/** Mirror of {@code gudusoft.gsqlparser.stmt.TVarDeclStmt}. */ 005public class TVarDeclStmt extends TCustomSqlStatement { 006 private final Object vgetDeclareType; 007 private final Object vgetDefaultValue; 008 private final Object vgetElementName; 009 private final Object vgetValue; 010 011 TVarDeclStmt(Shape shape, int handle, Object[][] v) { 012 super(shape, handle, v); 013 Object[] mine = v[2]; 014 this.vgetDeclareType = mine[0]; 015 this.vgetDefaultValue = mine[1]; 016 this.vgetElementName = mine[2]; 017 this.vgetValue = mine[3]; 018 } 019 020 public gudusoft.gsqlparser.EDeclareType getDeclareType() { 021 return this.<gudusoft.gsqlparser.EDeclareType>slot(vgetDeclareType); 022 } 023 024 public TExpression getDefaultValue() { 025 return this.<TExpression>slot(vgetDefaultValue); 026 } 027 028 public TObjectName getElementName() { 029 return this.<TObjectName>slot(vgetElementName); 030 } 031 032 public TExpression getValue() { 033 return this.<TExpression>slot(vgetValue); 034 } 035}