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

java.lang.Object
  extended by org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
      extended by org.jboss.ejb.plugins.cmp.ejbql.ASTExactNumericLiteral
All Implemented Interfaces:
org.jboss.ejb.plugins.cmp.ejbql.Node

public final class ASTExactNumericLiteral
extends SimpleNode

This abstract syntax node represents an exact numeric literal.

Version:
$Revision: 81030 $
Author:
Dain Sundstrom

Field Summary
 String literal
           
 long value
           
 
Fields inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
children, id, parent
 
Constructor Summary
ASTExactNumericLiteral(int id)
           
 
Method Summary
 Object jjtAccept(org.jboss.ejb.plugins.cmp.ejbql.JBossQLParserVisitor visitor, Object data)
          Accept the visitor.
 void setValue(String number)
           
 String toString()
           
 
Methods inherited from class org.jboss.ejb.plugins.cmp.ejbql.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public long value

literal

public String literal
Constructor Detail

ASTExactNumericLiteral

public ASTExactNumericLiteral(int id)
Method Detail

setValue

public void setValue(String number)

toString

public String toString()
Overrides:
toString in class SimpleNode

jjtAccept

public Object jjtAccept(org.jboss.ejb.plugins.cmp.ejbql.JBossQLParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface org.jboss.ejb.plugins.cmp.ejbql.Node
Overrides:
jjtAccept in class SimpleNode


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.