to.etc.webapp.query
Class QNodeVisitorBase
java.lang.Object
to.etc.webapp.query.QNodeVisitorBase
- All Implemented Interfaces:
- QNodeVisitor
- Direct Known Subclasses:
- CriteriaCreatingVisitor, CriteriaCreatingVisitorWithSubcriteria, JdbcSQLGenerator, QQueryRenderer
public class QNodeVisitorBase
- extends java.lang.Object
- implements QNodeVisitor
Base class for visiting a node tree. The methods in this base class cause all
children of a the tree to be visited in order.
- Author:
- Frits Jalvingh
Created on Jun 24, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QNodeVisitorBase
public QNodeVisitorBase()
visitPropertyComparison
public void visitPropertyComparison(QPropertyComparison n)
throws java.lang.Exception
- Specified by:
visitPropertyComparison
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitUnaryNode
public void visitUnaryNode(QUnaryNode n)
throws java.lang.Exception
- Specified by:
visitUnaryNode
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitUnaryProperty
public void visitUnaryProperty(QUnaryProperty n)
throws java.lang.Exception
- Specified by:
visitUnaryProperty
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitBetween
public void visitBetween(QBetweenNode n)
throws java.lang.Exception
- Specified by:
visitBetween
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitRestrictionsBase
public void visitRestrictionsBase(QCriteriaQueryBase<?> n)
throws java.lang.Exception
- Specified by:
visitRestrictionsBase
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitCriteria
public void visitCriteria(QCriteria<?> qc)
throws java.lang.Exception
- Specified by:
visitCriteria
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitSelection
public void visitSelection(QSelection<?> s)
throws java.lang.Exception
- Specified by:
visitSelection
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitSelectionColumns
public void visitSelectionColumns(QSelection<?> s)
throws java.lang.Exception
- Throws:
java.lang.Exception
visitOrderList
public void visitOrderList(java.util.List<QOrder> orderlist)
throws java.lang.Exception
- Specified by:
visitOrderList
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitLiteral
public void visitLiteral(QLiteral n)
throws java.lang.Exception
- Specified by:
visitLiteral
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitMulti
public void visitMulti(QMultiNode n)
throws java.lang.Exception
- Specified by:
visitMulti
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitOrder
public void visitOrder(QOrder o)
throws java.lang.Exception
- Specified by:
visitOrder
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitPropertySelection
public void visitPropertySelection(QPropertySelection n)
throws java.lang.Exception
- Specified by:
visitPropertySelection
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitSelectionColumn
public void visitSelectionColumn(QSelectionColumn n)
throws java.lang.Exception
- Specified by:
visitSelectionColumn
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitSelectionItem
public void visitSelectionItem(QSelectionItem n)
throws java.lang.Exception
- Specified by:
visitSelectionItem
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitMultiSelection
public void visitMultiSelection(QMultiSelection n)
throws java.lang.Exception
- Specified by:
visitMultiSelection
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitExistsSubquery
public void visitExistsSubquery(QExistsSubquery<?> q)
throws java.lang.Exception
- Specified by:
visitExistsSubquery
in interface QNodeVisitor
- Throws:
java.lang.Exception
visitSelectionSubquery
public void visitSelectionSubquery(QSelectionSubquery n)
throws java.lang.Exception
- Specified by:
visitSelectionSubquery
in interface QNodeVisitor
- Throws:
java.lang.Exception