org.jboss.ejb.plugins.cmp.ejbql
Class ASTCount

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.ejbql.SimpleNode (src) 
      extended byorg.jboss.ejb.plugins.cmp.ejbql.AggregateFunction (src) 
          extended byorg.jboss.ejb.plugins.cmp.ejbql.ASTCount
All Implemented Interfaces:
SelectFunction (src)

public final class ASTCount
extends AggregateFunction (src)
implements SelectFunction (src)

This abstract syntax node represents a count function.


Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.cmp.ejbql.AggregateFunction (src)
distinct
 
Fields inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode (src)
children, id, parent
 
Constructor Summary
ASTCount(int id)
           
 
Method Summary
protected  java.lang.Class getDefaultResultType()
           
 java.lang.Object jjtAccept(JBossQLParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 
Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.AggregateFunction (src)
readResult, setResultType
 
Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode (src)
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb.plugins.cmp.ejbql.SelectFunction (src)
readResult
 

Constructor Detail

ASTCount

public ASTCount(int id)
Method Detail

getDefaultResultType

protected java.lang.Class getDefaultResultType()
Overrides:
getDefaultResultType in class AggregateFunction (src)

jjtAccept

public java.lang.Object jjtAccept(JBossQLParserVisitor visitor,
                                  java.lang.Object data)
Accept the visitor. *

Overrides:
jjtAccept in class SimpleNode (src)