| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.persistence.criteria.OrderImpl
class OrderImpl
Ordering clause of a criteria query.
| Constructor Summary | |
|---|---|
| OrderImpl(Expression<?> e) | |
| OrderImpl(Expression<?> e,
          boolean asc) | |
| Method Summary | |
|---|---|
|  void | acceptVisit(CriteriaExpressionVisitor visitor)Accept visit from the given visitor. | 
|  StringBuilder | asProjection(AliasContext q)Get a string representation of this node as a projection term in the context of the given query. | 
|  StringBuilder | asValue(AliasContext q)Get a string representation of this node as a value in the context of the given query. | 
|  StringBuilder | asVariable(AliasContext q)Get a string representation of this node as a variable in the context of the given query. | 
|  ExpressionImpl<?> | getExpression() | 
|  boolean | isAscending() | 
|  Order | reverse() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public OrderImpl(Expression<?> e,
                 boolean asc)
public OrderImpl(Expression<?> e)
| Method Detail | 
|---|
public ExpressionImpl<?> getExpression()
getExpression in interface Orderpublic boolean isAscending()
isAscending in interface Orderpublic Order reverse()
reverse in interface Orderpublic void acceptVisit(CriteriaExpressionVisitor visitor)
CriteriaExpression
acceptVisit in interface CriteriaExpressionvisitor - a processor to walk the nodes of a tree.public StringBuilder asValue(AliasContext q)
CriteriaExpression
asValue in interface CriteriaExpressionpublic StringBuilder asProjection(AliasContext q)
CriteriaExpression
asProjection in interface CriteriaExpressionpublic StringBuilder asVariable(AliasContext q)
CriteriaExpression
asVariable in interface CriteriaExpression| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||