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

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

public final class ASTConcat
extends SimpleNode (src)
implements SelectFunction (src)

This abstract syntax node represents a concat function.


Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode (src)
children, id, parent
 
Constructor Summary
ASTConcat(int id)
           
 
Method Summary
 java.lang.Object jjtAccept(JBossQLParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 java.lang.Object readResult(java.sql.ResultSet rs)
          Reads results.
 
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
 

Constructor Detail

ASTConcat

public ASTConcat(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)

readResult

public java.lang.Object readResult(java.sql.ResultSet rs)
                            throws java.sql.SQLException
Reads results.

Specified by:
readResult in interface SelectFunction (src)
Parameters:
rs - the result set to read from.
Returns:
the result of the function
Throws:
java.sql.SQLException