Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.parsing

public Class OrderByNode

extends MajorNode
Class Inheritance
Imports
java.util.*, org.eclipse.persistence.queries.ObjectLevelReadQuery

INTERNAL

Purpose: Represent an ORDER BY

Responsibilities:

Author
Jon Driscoll
Since
TopLink 5.0

Field Summary

Modifier and TypeField and Description
pack-priv List<Node>

Constructor Summary

AccessConstructor and Description
public
OrderByNode()

Return a new OrderByNode.

Method Summary

Modifier and TypeMethod and Description
public void
addOrderingToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)

INTERNAL Add the ordering expressions to the passed query

public List<Node>
getOrderByItems()

INTERNAL Return the order by statements

public void
setOrderByItems(List<Node> newItems)

INTERNAL Set the order by statements

public void
validate(ParseTreeContext context, SelectNode selectNode)

INTERNAL Validate node.

Inherited from org.eclipse.persistence.internal.jpa.parsing.MajorNode:
getContextsetContext

Field Detail

orderByItemsback to summary
pack-priv List<Node> orderByItems

Constructor Detail

OrderByNodeback to summary
public OrderByNode()

Return a new OrderByNode.

Method Detail

addOrderingToQueryback to summary
public void addOrderingToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)

INTERNAL Add the ordering expressions to the passed query

getOrderByItemsback to summary
public List<Node> getOrderByItems()

INTERNAL Return the order by statements

setOrderByItemsback to summary
public void setOrderByItems(List<Node> newItems)

INTERNAL Set the order by statements

validateback to summary
public void validate(ParseTreeContext context, SelectNode selectNode)

INTERNAL Validate node.