net.ontopia.persistence.query.jdo
Class JDOOrderBy
java.lang.Object
net.ontopia.persistence.query.jdo.JDOOrderBy
public class JDOOrderBy
- extends java.lang.Object
INTERNAL: JDOQL order by statement. The order-by instance wraps a
JDOValueIF or JDOAggregateIF instance and specifies whether the
ordering should be ascending or descending.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, 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 JDOAggregateIF aggregate
value
protected JDOValueIF value
order
protected int order
JDOOrderBy
public JDOOrderBy(JDOValueIF value,
int order)
JDOOrderBy
public JDOOrderBy(JDOAggregateIF aggregate,
int order)
getOrder
public int getOrder()
isAggregate
public boolean isAggregate()
getAggregate
public JDOAggregateIF getAggregate()
getValue
public JDOValueIF getValue()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.