net.sf.jsqlparser.statement.select
Class SelectExpressionItem

java.lang.Object
  extended by net.sf.jsqlparser.statement.select.SelectExpressionItem
All Implemented Interfaces:
SelectItem

public class SelectExpressionItem
extends java.lang.Object
implements SelectItem

An expression as in "SELECT expr1 AS EXPR"


Field Summary
private  java.lang.String alias
           
private  Expression expression
           
 
Constructor Summary
SelectExpressionItem()
           
 
Method Summary
 void accept(SelectItemVisitor selectItemVisitor)
           
 java.lang.String getAlias()
           
 Expression getExpression()
           
 void setAlias(java.lang.String string)
           
 void setExpression(Expression expression)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expression

private Expression expression

alias

private java.lang.String alias
Constructor Detail

SelectExpressionItem

public SelectExpressionItem()
Method Detail

getAlias

public java.lang.String getAlias()

getExpression

public Expression getExpression()

setAlias

public void setAlias(java.lang.String string)

setExpression

public void setExpression(Expression expression)

accept

public void accept(SelectItemVisitor selectItemVisitor)
Specified by:
accept in interface SelectItem

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object