Interface CriteriaExpressionVisitor
- All Known Implementing Classes:
CriteriaExpressionVisitor.AbstractVisitor
,CriteriaExpressionVisitor.ParameterVisitor
public interface CriteriaExpressionVisitor
A visitor for Criteria Expression nodes.
- Since:
- 2.0.0
- Author:
- Pinaki Poddar
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
An abstract implementation that can detect cycles during traversal.static class
A visitor to register Parameter expression of a query.static enum
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enter
(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Enter the given node.void
exit
(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Exit the given node.getTraversalStyle
(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Get the traversal style of the children of the given node.boolean
isVisited
(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Affirms if this node has been visited.
-
Method Details
-
enter
void enter(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Enter the given node. -
exit
void exit(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Exit the given node. -
isVisited
boolean isVisited(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Affirms if this node has been visited. -
getTraversalStyle
CriteriaExpressionVisitor.TraversalStyle getTraversalStyle(org.apache.openjpa.persistence.criteria.CriteriaExpression node) Get the traversal style of the children of the given node.
-