net.sf.jsqlparser.statement.select
Class OrderByElement

java.lang.Object
  extended by net.sf.jsqlparser.statement.select.OrderByElement

public class OrderByElement
extends java.lang.Object

An element (column reference) in an "ORDER BY" clause.


Field Summary
private  boolean asc
           
private  ColumnReference columnReference
           
 
Constructor Summary
OrderByElement()
           
 
Method Summary
 void accept(OrderByVisitor orderByVisitor)
           
 ColumnReference getColumnReference()
           
 boolean isAsc()
           
 void setAsc(boolean b)
           
 void setColumnReference(ColumnReference columnReference)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columnReference

private ColumnReference columnReference

asc

private boolean asc
Constructor Detail

OrderByElement

public OrderByElement()
Method Detail

isAsc

public boolean isAsc()

setAsc

public void setAsc(boolean b)

accept

public void accept(OrderByVisitor orderByVisitor)

getColumnReference

public ColumnReference getColumnReference()

setColumnReference

public void setColumnReference(ColumnReference columnReference)

toString

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