Package org.apache.cayenne.ejbql.parser
Class EJBQLSum
- java.lang.Object
-
- org.apache.cayenne.ejbql.parser.SimpleNode
-
- org.apache.cayenne.ejbql.parser.EJBQLAggregateColumn
-
- org.apache.cayenne.ejbql.parser.EJBQLSum
-
- All Implemented Interfaces:
Serializable
,EJBQLExpression
,Node
public class EJBQLSum extends EJBQLAggregateColumn
- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EJBQLSum(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFunction()
String
getJavaType(String pathType)
protected boolean
visitNode(EJBQLExpressionVisitor visitor)
Visits this node without recursion.-
Methods inherited from class org.apache.cayenne.ejbql.parser.SimpleNode
getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit, visitChild
-
-
-
-
Method Detail
-
visitNode
protected boolean visitNode(EJBQLExpressionVisitor visitor)
Description copied from class:SimpleNode
Visits this node without recursion. Default implementation simply returns true. Subclasses override this method to call an appropriate visitor method.- Overrides:
visitNode
in classSimpleNode
-
getFunction
public String getFunction()
- Specified by:
getFunction
in classEJBQLAggregateColumn
-
getJavaType
public String getJavaType(String pathType)
- Specified by:
getJavaType
in classEJBQLAggregateColumn
-
-