net.ontopia.persistence.query.sql
Class SQLOrderBy
java.lang.Object
net.ontopia.persistence.query.sql.SQLOrderBy
public class SQLOrderBy
- extends java.lang.Object
INTERNAL: SQL order by statement. The order-by instance wraps a
SQLValueIF or SQLAggregateIF instance and specifies whether the
ordering should be ascending or descending.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASCENDING
public static final int ASCENDING
- See Also:
- Constant Field Values
DESCENDING
public static final int DESCENDING
- See Also:
- Constant Field Values
aggregate
protected SQLAggregateIF aggregate
value
protected SQLValueIF value
order
protected int order
SQLOrderBy
public SQLOrderBy(SQLValueIF value,
int order)
SQLOrderBy
public SQLOrderBy(SQLAggregateIF aggregate,
int order)
getOrder
public int getOrder()
isAggregate
public boolean isAggregate()
getAggregate
public SQLAggregateIF getAggregate()
setAggregate
public void setAggregate(SQLAggregateIF aggregate)
getValue
public SQLValueIF getValue()
setValue
public void setValue(SQLValueIF value)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.