Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.ejb.plugins.cmp.ejbql
Class ASTLength

    java.lang.Object
      org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
          org.jboss.ejb.plugins.cmp.ejbql.ASTLength

All Implemented Interfaces:
  SelectFunction

public final class ASTLength
extends SimpleNode
implements SelectFunction

This abstract syntax node represents a length function.

Version:
  $Revision: 1.5 $
Author:
  Dain Sundstrom, Alex Loubyansky

Field Summary

Fields inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
`children, id, parent`

Constructor Summary
`ASTLength(int id)`

Method Summary
`Object` | `jjtAccept(JBossQLParserVisitor visitor, Object data)` Accept the visitor.
`Object` | `readResult(ResultSet rs)` Reads results.

Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
`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

### ASTLength

    public ASTLength(int id)

Method Detail

### jjtAccept

    public Object jjtAccept(JBossQLParserVisitor visitor,
                            Object data)

  Accept the visitor.

  Overrides:
    `jjtAccept` in class `SimpleNode`

### readResult

    public Object readResult(ResultSet rs)
                      throws SQLException

  Reads results.

  Specified by:
    `readResult` in interface `SelectFunction`
  Parameters:
    `rs` - the result set to read from.
  Returns:
    the result of the function
  Throws:
    `SQLException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.