001package gudusoft.gsqlparser.nodes; 002 003 004import gudusoft.gsqlparser.TSourceToken; 005 006/** 007 * Postgresql Relation expr parse tree node 008 */ 009public class TRelationExpr extends TParseTreeNode { 010 private TObjectName relationName; 011 private TSourceToken only; 012 013 public TSourceToken getOnly() { 014 return only; 015 } 016 017 public TObjectName getRelationName() { 018 return relationName; 019 } 020 021 public void setOnly(TSourceToken only) { 022 this.only = only; 023 } 024 025 public void init(Object arg1) 026 { 027 this.relationName = (TObjectName)arg1; 028 } 029 030 public void setRelationName(TObjectName relationName) { 031 this.relationName = relationName; 032 } 033}