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

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.ASTAvg
All Implemented Interfaces:
SelectFunction (src)

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

This abstract syntax node represents AVG 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
ASTAvg(int id)
           
 
Method Summary
 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)
getDefaultResultType, 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

ASTAvg

public ASTAvg(int id)
Method Detail

jjtAccept

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

Overrides:
jjtAccept in class SimpleNode (src)