001package gudusoft.gsqlparser.nodes; 002/* 003 * Date: 2010-10-19 004 * Time: 11:51:26 005 */ 006 007import gudusoft.gsqlparser.TCustomSqlStatement; 008import gudusoft.gsqlparser.EDbVendor; 009import gudusoft.gsqlparser.ESqlStatementType; 010 011/** 012 * @deprecated As of v1.4.9.8, use TExplicitDataTypeConversion instead 013 * teradata output format phrase 014 */ 015public class TOutputFormatPhrase extends TParseTreeNode { 016 public TDatatypeAttribute getDatatypeAttribute() { 017 return datatypeAttribute; 018 } 019 020 public TTypeName getTypeName() { 021 return typeName; 022 } 023 024 private TDatatypeAttribute datatypeAttribute = null; 025 private TTypeName typeName; 026 027 public void init(Object arg1){ 028 if (arg1 instanceof TDatatypeAttribute){ 029 this.datatypeAttribute = (TDatatypeAttribute)arg1; 030 }else if (arg1 instanceof TTypeName){ 031 this.typeName = (TTypeName)arg1; 032 } 033 } 034 035}