org.modeshape.jcr.query.qom
Class JcrOrdering
java.lang.Object
org.modeshape.graph.query.model.Ordering
org.modeshape.jcr.query.qom.JcrOrdering
- All Implemented Interfaces:
- Serializable, Ordering, LanguageObject, Visitable
public class JcrOrdering
- extends Ordering
- implements Ordering
The implementation of the JCR Query Object Model's Ordering.
- See Also:
- Serialized Form
JcrOrdering
public JcrOrdering(JcrDynamicOperand operand,
Order order)
- Create a new ordering specification, given the supplied operand and order.
- Parameters:
operand - the operand being orderedorder - the order type
- Throws:
IllegalArgumentException - if the operand or order type is null
operand
public JcrDynamicOperand operand()
- Get the operand being ordered.
- Overrides:
operand in class Ordering
- Returns:
- the operand; never null
- See Also:
Ordering.operand()
getOperand
public JcrDynamicOperand getOperand()
-
- Specified by:
getOperand in interface Ordering
- See Also:
Ordering.getOperand()
getOrder
public String getOrder()
-
- Specified by:
getOrder in interface Ordering
- See Also:
Ordering.getOrder()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.