Package org.castor.cpa.query.ejbql
Class EjbQLTreeWalker
- java.lang.Object
-
- org.castor.cpa.query.ejbql.EjbQLTreeWalker
-
public final class EjbQLTreeWalker extends java.lang.Object
EjbQL Parser TreeWalker which creates the OQ from a parsed EjbQL string.- Since:
- 1.3
- Version:
- $Revision: 7121 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Udai Gupta, Ralf Joachim
-
-
Constructor Summary
Constructors Constructor Description EjbQLTreeWalker(SimpleNode node)
Instantiates a new Ejb ql tree walker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectQuery
getSelect()
Gets the select.void
setSelect(SelectQuery select)
Sets the select.
-
-
-
Constructor Detail
-
EjbQLTreeWalker
public EjbQLTreeWalker(SimpleNode node) throws ParseException
Instantiates a new Ejb ql tree walker.- Parameters:
node
- the node- Throws:
ParseException
- Exception thrown by parser when parsing an invalid query.
-
-
Method Detail
-
getSelect
public SelectQuery getSelect()
Gets the select.- Returns:
- the select
-
setSelect
public void setSelect(SelectQuery select)
Sets the select.- Parameters:
select
- the new select
-
-